summaryrefslogtreecommitdiff
path: root/ais_json.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-05-26 08:31:50 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-05-26 08:31:50 -0400
commit3f1df8b8fd869c256c2c6bcbe4bcf066f6af7d84 (patch)
treed0d5ae29980c54950e34ad68532f91c75f13f882 /ais_json.c
parentca9f363c457b42372fc10c2883535035bcd7a1fe (diff)
downloadgpsd-3f1df8b8fd869c256c2c6bcbe4bcf066f6af7d84.tar.gz
Back out AIS Tidal Window message support.
It wasn't dealing with the variable-length segment at the end properly.
Diffstat (limited to 'ais_json.c')
-rw-r--r--ais_json.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ais_json.c b/ais_json.c
index 8ab945ae..4b938329 100644
--- a/ais_json.c
+++ b/ais_json.c
@@ -179,10 +179,6 @@ int json_ais_read(const char *buf,
status = json_read_object(buf, json_ais6_fid25, endptr);
imo = true;
}
- else if (strstr(buf, "\"fid\":32,") != NULL || strstr(buf, "\"fid\":14,") != NULL) {
- status = json_read_object(buf, json_ais6_fid32, endptr);
- imo = true;
- }
else if (strstr(buf, "\"fid\":30,") != NULL) {
status = json_read_object(buf, json_ais6_fid30, endptr);
imo = true;