diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-11-06 18:49:33 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-11-06 18:49:33 +0000 |
commit | 6178647c33921c5ed9269a05e85f8c2054469103 (patch) | |
tree | 2ac03701b121ede4df62a3a131248f855e3a5761 | |
parent | f2cbe5aee419921328b4e05af3c28c499dfedca1 (diff) |
Increase maximum .config line size to 1024.
-rw-r--r-- | extra/config/confdata.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/config/confdata.c b/extra/config/confdata.c index 0c132a6f0..78e9c553c 100644 --- a/extra/config/confdata.c +++ b/extra/config/confdata.c @@ -61,7 +61,7 @@ char *conf_get_default_confname(void) int conf_read(const char *name) { FILE *in = NULL; - char line[128]; + char line[1024]; char *p, *p2; int lineno = 0; struct symbol *sym; @@ -105,7 +105,7 @@ int conf_read(const char *name) } } - while (fgets(line, 128, in)) { + while (fgets(line, sizeof(line), in)) { lineno++; switch (line[0]) { case '\n': |