diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-10-01 22:14:35 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-10-01 22:14:35 -0400 |
commit | fe8553035c52d250fe9bd2d57e806c92393bb219 (patch) | |
tree | 247e4759d34a4f12de91dff3b3f26d1d0747c6ed /ais_json.c | |
parent | 95b81e7965f5fd175db8fad21e8a1533f83f80e0 (diff) | |
download | gpsd-fe8553035c52d250fe9bd2d57e806c92393bb219.tar.gz |
splint cleanup.
Diffstat (limited to 'ais_json.c')
-rw-r--r-- | ais_json.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |