summaryrefslogtreecommitdiff
path: root/json.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-09-17 20:35:06 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-09-17 20:35:06 -0400
commitf6ed64c9304bc60550370c4bedef100982ce2648 (patch)
treebf1065481cfcad4714ce5ca098f4966e4edc8b33 /json.h
parenta8797f6e4ccc7a2fa3e34510e6928c1c2dd95722 (diff)
downloadgpsd-f6ed64c9304bc60550370c4bedef100982ce2648.tar.gz
Typo fixes. All regression tests pass.
Diffstat (limited to 'json.h')
-rw-r--r--json.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/json.h b/json.h
index 8f609175..26befdad 100644
--- a/json.h
+++ b/json.h
@@ -87,7 +87,7 @@ void json_enable_debug(int, FILE *);
#define JSON_ERR_NOBRAK 6 /* array element specified, but no [ */
#define JSON_ERR_STRLONG 7 /* string value too long */
#define JSON_ERR_TOKLONG 8 /* token value too long */
-#define JSON_ERR_BADTRAIL 9 /* garbage while expecting , or } */
+#define JSON_ERR_BADTRAIL 9 /* garbage while expecting comma, }, or ] */
#define JSON_ERR_ARRAYSTART 10 /* didn't find expected array start */
#define JSON_ERR_OBJARR 11 /* error while parsing object array */
#define JSON_ERR_SUBTOOLONG 12 /* too many array elements */