Version light
Revision 7:2e90177fb3f8, committed 2018-10-14
- Comitter:
- flowh
- Date:
- Sun Oct 14 21:56:23 2018 +0000
- Parent:
- 6:f6ceafabe9f8
- Commit message:
- diminution taille buffer
Changed in this revision
ConfigFile.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r f6ceafabe9f8 -r 2e90177fb3f8 ConfigFile.h --- a/ConfigFile.h Wed Sep 15 13:49:15 2010 +0000 +++ b/ConfigFile.h Sun Oct 14 21:56:23 2018 +0000 @@ -109,9 +109,9 @@ char *value; } config_t; config_t **configlist; - static const int MAXCONFIG = 64; - static const int MAXLEN_KEY = 64; - static const int MAXLEN_VALUE = 128; + static const int MAXCONFIG = 32; + static const int MAXLEN_KEY = 32; + static const int MAXLEN_VALUE = 64; static const char SEPARATOR = '='; config_t *search(char *key);