diff options
author | Gary E. Miller <gem@rellim.com> | 2015-04-30 13:49:45 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2015-04-30 13:49:45 -0700 |
commit | 0de9f0dbbadb2c9ce78cac0777039db0579649f7 (patch) | |
tree | bb17b17c8da684a5077dc8f7c43b099b100c7d4f /gpsd_json.c | |
parent | 7f67ff565a0e2e115f703964cd563229f9f828b3 (diff) | |
download | gpsd-0de9f0dbbadb2c9ce78cac0777039db0579649f7.tar.gz |
A gaggle of whitespace gaffs.
Diffstat (limited to 'gpsd_json.c')
-rw-r--r-- | gpsd_json.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |