summaryrefslogtreecommitdiff
path: root/ais_json.c
diff options
context:
space:
mode:
Diffstat (limited to 'ais_json.c')
-rw-r--r--ais_json.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ais_json.c b/ais_json.c
index d143190e..22fa9bd8 100644
--- a/ais_json.c
+++ b/ais_json.c
@@ -133,9 +133,9 @@ int json_ais_read(const char *buf,
} else if (strstr(buf, "\"type\":21,") != NULL) {
status = json_read_object(buf, json_ais21, endptr);
} else if (strstr(buf, "\"type\":22,") != NULL) {
- status = json_read_object(buf, json_ais23, endptr);
- } else if (strstr(buf, "\"type\":23,") != NULL) {
status = json_read_object(buf, json_ais22, endptr);
+ } else if (strstr(buf, "\"type\":23,") != NULL) {
+ status = json_read_object(buf, json_ais23, endptr);
} else if (strstr(buf, "\"type\":24,") != NULL) {
status = json_read_object(buf, json_ais24, endptr);
} else if (strstr(buf, "\"type\":25,") != NULL) {