summaryrefslogtreecommitdiff
path: root/gpsd_json.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-01 04:15:32 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-01 04:15:32 +0000
commit3ac6e831d951904c243b502af6e0db3fadedc874 (patch)
tree6dcde65963326337b56eea904c20aa8b7dabd6bd /gpsd_json.c
parent1fe7b17d12a2b198b3365c6636fd276ee71ae10e (diff)
downloadgpsd-3ac6e831d951904c243b502af6e0db3fadedc874.tar.gz
More code-generation machinery.
Diffstat (limited to 'gpsd_json.c')
-rw-r--r--gpsd_json.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpsd_json.c b/gpsd_json.c
index bf5b9523..7eea3670 100644
--- a/gpsd_json.c
+++ b/gpsd_json.c
@@ -737,8 +737,8 @@ void aivdm_json_dump(struct ais_t *ais, bool scaled, char *buf, size_t buflen)
"\"shipname\":\"%s\",\"shiptype\":\"%s\","
"\"to_bow\":%u,\"to_stern\":%u,\"to_port\":%u,"
"\"to_starboard\":%u,\"epfd\":\"%s\","
- "\"eta\":\"%02u-%02uT%02u:%02uZ\",\""
- "draught\":%.1f,\"destination\":\"%s\","
+ "\"eta\":\"%02u-%02uT%02u:%02uZ\","
+ "\"draught\":%.1f,\"destination\":\"%s\","
"\"dte\":%u}\r\n",
ais->type5.imo,
ais->type5.ais_version,