diff options
Diffstat (limited to 'src/configparser.cpp')
-rw-r--r-- | src/configparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configparser.cpp b/src/configparser.cpp index 61cdb55fa..31d314148 100644 --- a/src/configparser.cpp +++ b/src/configparser.cpp @@ -327,7 +327,7 @@ void ParseStack::DoReadFile(const std::string& key, const std::string& name, int file_cache& cache = FilesOutput[key]; cache.clear(); - char linebuf[MAXBUF*10]; + char linebuf[5120]; while (fgets(linebuf, sizeof(linebuf), file)) { size_t len = strlen(linebuf); |