Skip to content

Commit

Permalink
Increase max section and property name to 500.
Browse files Browse the repository at this point in the history
  • Loading branch information
xuhdev committed Apr 27, 2014
1 parent d121a1a commit 5e5a372
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/ini.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ int ini_parse_file(FILE* file,
#define INI_ALLOW_MULTILINE 0
#endif

#define MAX_SECTION_NAME 50
#define MAX_PROPERTY_NAME 50
#define MAX_SECTION_NAME 500
#define MAX_PROPERTY_NAME 500

/* Nonzero to allow a UTF-8 BOM sequence (0xEF 0xBB 0xBF) at the start of
the file. See http://code.google.com/p/inih/issues/detail?id=21 */
Expand Down

0 comments on commit 5e5a372

Please sign in to comment.