diff options
author | Christian Gagneraud <cgagneraud@techworks.ie> | 2012-06-05 13:46:12 +0100 |
---|---|---|
committer | Christian Gagneraud <chris@techworks.ie> | 2012-06-20 10:05:40 +0100 |
commit | 5f2fd318f9c80a57d0897613b2c5b5d5e44893d8 (patch) | |
tree | df4ea12775ee17b536def7690ad8591bf4bb33d2 /json.h | |
parent | 353a26d3e7ebff1a913c227d8768ae042e676eb3 (diff) | |
download | gpsd-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" { |