diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-12-20 16:20:45 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-12-20 16:20:45 +0000 |
commit | 273bba11f98eebd54bd16b4e8e27b8380b1cec76 (patch) | |
tree | 46a8910f9602e86947a7a46eed9eb22dd2715e2b /gpsd_json.c | |
parent | cbdfe53e679e13775ae2e1d8eb8d5ca0e6164aba (diff) | |
download | gpsd-273bba11f98eebd54bd16b4e8e27b8380b1cec76.tar.gz |
More AIS tweaks. Test client is turning up real bugs.
Diffstat (limited to 'gpsd_json.c')
-rw-r--r-- | gpsd_json.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsd_json.c b/gpsd_json.c index 39598c4a..79764b09 100644 --- a/gpsd_json.c +++ b/gpsd_json.c @@ -1230,7 +1230,7 @@ void aivdm_json_dump(const struct ais_t *ais, bool scaled, /*@out@*/char *buf, s (void)snprintf(buf+strlen(buf), buflen-strlen(buf), "\"ne_lon\":\"%f\",\"ne_lat\":\"%f\"," "\"sw_lon\":\"%f\",\"sw_lat\":\"%f\"," - "\"stationtype\":%s,\"shiptype\":%s," + "\"stationtype\":\"%s\",\"shiptype\":\"%s\"," "\"interval\":%u,\"quiet\":%u}\r\n", ais->type23.ne_lon / AIS_CHANNEL_LATLON_SCALE, ais->type23.ne_lat / AIS_CHANNEL_LATLON_SCALE, |