Skip to content

Commit 4eff37b

Browse files
Remove redundant data
1 parent e424209 commit 4eff37b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

hc_http.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,13 +335,10 @@ static const char *hc_http_ntp (const char *method, const char *uri,
335335
+ ((client->origin.tv_usec - client->local.tv_usec) / 1000);
336336
snprintf (buffer, sizeof(buffer),
337337
"%s{\"address\":\"%s\",\"timestamp\":%d.%03d,"
338-
"\"remote\":%d.%03d,"
339338
"\"delta\":%d}",
340339
prefix,
341340
hc_broadcast_format(&(client->address)),
342-
client->local.tv_sec, client->local.tv_usec / 1000,
343-
client->origin.tv_sec, client->origin.tv_usec / 1000,
344-
delta);
341+
client->local.tv_sec, client->local.tv_usec / 1000, delta);
345342
strcat (JsonBuffer, buffer);
346343
prefix = ",";
347344
}

0 commit comments

Comments
 (0)