diff options
| author | Drew DeVault <sir@cmpwn.com> | 2020-09-23 11:19:29 -0400 |
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2020-09-23 11:24:23 -0400 |
| commit | 58500c8e530cc9b0807afbe8b068fe7b00db0131 (patch) | |
| tree | 25d8d12de0e3a9ec1bc65a5256ab3bebe06771e2 /src/ini.c | |
| parent | ccae8ffd2807b8b984b657b6321802fa00b52427 (diff) | |
| download | gmnisrv-58500c8e530cc9b0807afbe8b068fe7b00db0131.tar.gz gmnisrv-58500c8e530cc9b0807afbe8b068fe7b00db0131.tar.xz gmnisrv-58500c8e530cc9b0807afbe8b068fe7b00db0131.zip | |
Initial config parser
Diffstat (limited to 'src/ini.c')
| -rw-r--r-- | src/ini.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |
