summaryrefslogtreecommitdiffstats
path: root/src/ini.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-09-23 11:19:29 -0400
committerDrew DeVault <sir@cmpwn.com>2020-09-23 11:24:23 -0400
commit58500c8e530cc9b0807afbe8b068fe7b00db0131 (patch)
tree25d8d12de0e3a9ec1bc65a5256ab3bebe06771e2 /src/ini.c
parentccae8ffd2807b8b984b657b6321802fa00b52427 (diff)
downloadgmnisrv-58500c8e530cc9b0807afbe8b068fe7b00db0131.tar.gz
gmnisrv-58500c8e530cc9b0807afbe8b068fe7b00db0131.tar.xz
gmnisrv-58500c8e530cc9b0807afbe8b068fe7b00db0131.zip
Initial config parser
Diffstat (limited to 'src/ini.c')
-rw-r--r--src/ini.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ini.c b/src/ini.c
index 236684e..88ff0d1 100644
--- a/src/ini.c
+++ b/src/ini.c
@@ -20,8 +20,8 @@ https://github.com/benhoyt/inih
#include <stdlib.h>
#endif
-#define MAX_SECTION 50
-#define MAX_NAME 50
+#define MAX_SECTION 512
+#define MAX_NAME 512
/* Strip whitespace chars off end of given string, in place. Return s. */
static char* rstrip(char* s)