From 0de9f0dbbadb2c9ce78cac0777039db0579649f7 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Thu, 30 Apr 2015 13:49:45 -0700 Subject: A gaggle of whitespace gaffs. --- gpsd_json.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gpsd_json.c') diff --git a/gpsd_json.c b/gpsd_json.c index 4ea21ad8..22c9f3d2 100644 --- a/gpsd_json.c +++ b/gpsd_json.c @@ -324,7 +324,7 @@ void json_device_dump(const struct gps_device_t *device, */ if (device->gpsdata.online > 0) { str_appendf(reply, replylen, - "\"activated\":\"%s\",", + "\"activated\":\"%s\",", unix_to_iso8601(device->gpsdata.online, buf1, sizeof(buf1))); if (device->observed != 0) { int mask = 0; @@ -382,7 +382,7 @@ void json_subframe_dump(const struct gps_data_t *datap, { const struct subframe_t *subframe = &datap->subframe; const bool scaled = datap->policy.scaled; - + (void)snprintf(buf, buflen, "{\"class\":\"SUBFRAME\",\"device\":\"%s\"," "\"tSV\":%u,\"TOW17\":%u,\"frame\":%u,\"scaled\":%s", datap->dev.path, @@ -2108,7 +2108,7 @@ void json_aivdm_dump(const struct ais_t *ais, "\"data\":\"%zd:%s\"}\r\n", ais->type8.bitcount, json_stringify(buf1, sizeof(buf1), - gpsd_hexdump(scratchbuf, sizeof(scratchbuf), + gpsd_hexdump(scratchbuf, sizeof(scratchbuf), (char *)ais->type8.bitdata, BITS_TO_BYTES(ais->type8.bitcount)))); break; -- cgit v1.2.1