diff options
| -rw-r--r-- | include/tinyrad_internal.h | 2 | ||||
| -rw-r--r-- | lib/libtinyrad/ldict.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/tinyrad_internal.h b/include/tinyrad_internal.h index d426a4d..445a377 100644 --- a/include/tinyrad_internal.h +++ b/include/tinyrad_internal.h | |||
| @@ -61,6 +61,8 @@ | |||
| 61 | /////////////////// | 61 | /////////////////// |
| 62 | #pragma mark - Definitions | 62 | #pragma mark - Definitions |
| 63 | 63 | ||
| 64 | #define TRAD_LINE_MAX_LEN 256 | ||
| 65 | |||
| 64 | // array function options | 66 | // array function options |
| 65 | #define TINYRAD_ARRAY_INSERT 0x0001 ///< add type: insert unique object to sorted array | 67 | #define TINYRAD_ARRAY_INSERT 0x0001 ///< add type: insert unique object to sorted array |
| 66 | #define TINYRAD_ARRAY_REPLACE 0x0002 ///< add type: replace deplucate object in sorted array, or insert if unique | 68 | #define TINYRAD_ARRAY_REPLACE 0x0002 ///< add type: replace deplucate object in sorted array, or insert if unique |
diff --git a/lib/libtinyrad/ldict.c b/lib/libtinyrad/ldict.c index c218ca2..89c333b 100644 --- a/lib/libtinyrad/ldict.c +++ b/lib/libtinyrad/ldict.c | |||
| @@ -1483,7 +1483,7 @@ tinyrad_dict_parse( | |||
| 1483 | int rc; | 1483 | int rc; |
| 1484 | int argc; | 1484 | int argc; |
| 1485 | char ** argv; | 1485 | char ** argv; |
| 1486 | char buff[256]; | 1486 | char buff[TRAD_LINE_MAX_LEN]; |
| 1487 | size_t len; | 1487 | size_t len; |
| 1488 | TinyRadFile * file; | 1488 | TinyRadFile * file; |
| 1489 | TinyRadFile * parent; | 1489 | TinyRadFile * parent; |
