summaryrefslogtreecommitdiff
path: root/gpsd_json.c
diff options
context:
space:
mode:
authorJon Schlueter <jon.schlueter@gmail.com>2010-04-29 19:19:06 -0400
committerJon Schlueter <jon.schlueter@gmail.com>2010-04-29 19:19:06 -0400
commit365ed18bccd859533bc15ed444d631ae8db956ea (patch)
treecf3cdd2208ee42193eb0965cb0fb3fe6a3501e7a /gpsd_json.c
parentec2e285be32fbf5d8190e668179c62e92c779fbd (diff)
downloadgpsd-365ed18bccd859533bc15ed444d631ae8db956ea.tar.gz
Whitespace and indenting cleanup.
In bits.c gpsd.c gpsd_json.c and several drivers. Regression tests passing.
Diffstat (limited to 'gpsd_json.c')
-rw-r--r--gpsd_json.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gpsd_json.c b/gpsd_json.c
index 126dea24..1d7be8de 100644
--- a/gpsd_json.c
+++ b/gpsd_json.c
@@ -57,7 +57,7 @@ char *json_stringify( /*@out@*/ char *to,
char *tp;
tp = to;
- /*
+ /*
* The limit is len-6 here because we need to be leave room for
* each character to generate an up to 6-character Java-style
* escape
@@ -815,8 +815,8 @@ void aivdm_json_dump(const struct ais_t *ais, bool scaled,
ais->type5.to_port, ais->type5.to_starboard,
epfd_legends[ais->type5.epfd], ais->type5.month,
ais->type5.day, ais->type5.hour, ais->type5.minute,
- ais->type5.draught / 10.0,
- json_stringify(buf3, sizeof(buf3),
+ ais->type5.draught / 10.0,
+ json_stringify(buf3, sizeof(buf3),
ais->type5.destination),
ais->type5.dte);
/* *INDENT-ON* */