summaryrefslogtreecommitdiff
path: root/ais_json.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-10-01 22:14:35 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-10-01 22:14:35 -0400
commitfe8553035c52d250fe9bd2d57e806c92393bb219 (patch)
tree247e4759d34a4f12de91dff3b3f26d1d0747c6ed /ais_json.c
parent95b81e7965f5fd175db8fad21e8a1533f83f80e0 (diff)
downloadgpsd-fe8553035c52d250fe9bd2d57e806c92393bb219.tar.gz
splint cleanup.
Diffstat (limited to 'ais_json.c')
-rw-r--r--ais_json.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ais_json.c b/ais_json.c
index b0f4397b..b792c251 100644
--- a/ais_json.c
+++ b/ais_json.c
@@ -318,6 +318,10 @@ int json_ais_read(const char *buf,
status = json_read_object(buf, json_ais8_fid15, endptr);
imo = true;
}
+ else if (strstr(buf, "\"fid\":16,") != NULL) {
+ status = json_read_object(buf, json_ais8_fid16, endptr);
+ imo = true;
+ }
else if (strstr(buf, "\"fid\":17,") != NULL) {
status = json_read_object(buf, json_ais8_fid17, endptr);
imo = true;