diff options
author | Determinant <[email protected]> | 2019-07-02 02:58:56 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-07-02 02:58:56 -0400 |
commit | ce842602ccac8c10d025a055c966bc32f204f75c (patch) | |
tree | 2d653dad296686386875d6806cf3b625613cdef6 /src | |
parent | 12c0f971eef91ea04a3a2cfe1c0733924be6963a (diff) |
increase the conf line buffer limit
Diffstat (limited to 'src')
-rw-r--r-- | src/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index 0fb990e..e88157c 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -260,7 +260,7 @@ void Config::update(const std::string &optname, const char *optval) { } bool Config::load(const std::string &fname) { - static const size_t BUFF_SIZE = 1024; + static const size_t BUFF_SIZE = 65536; FILE *conf_f = fopen(fname.c_str(), "r"); char buff[BUFF_SIZE]; /* load configuration from file */ |