summaryrefslogtreecommitdiff
path: root/json.h
diff options
context:
space:
mode:
authorChristian Gagneraud <cgagneraud@techworks.ie>2012-06-05 13:46:12 +0100
committerChristian Gagneraud <chris@techworks.ie>2012-06-20 10:05:40 +0100
commit5f2fd318f9c80a57d0897613b2c5b5d5e44893d8 (patch)
treedf4ea12775ee17b536def7690ad8591bf4bb33d2 /json.h
parent353a26d3e7ebff1a913c227d8768ae042e676eb3 (diff)
downloadgpsd-5f2fd318f9c80a57d0897613b2c5b5d5e44893d8.tar.gz
json.h: Change JSON_VAL_MAX from 120 to 512
This will allow the parsing long hexdump (data fields) in the AIS code. The longest JSON string I saw so far was 389 characters long. scons check passed.
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 a90fcc3a..b691729c 100644
--- a/json.h
+++ b/json.h
@@ -62,7 +62,7 @@ struct json_attr_t {
};
#define JSON_ATTR_MAX 31 /* max chars in JSON attribute name */
-#define JSON_VAL_MAX 120 /* max chars in JSON value part */
+#define JSON_VAL_MAX 512 /* max chars in JSON value part */
#ifdef __cplusplus
extern "C" {