diff options
Diffstat (limited to 'common/config-manager.cpp')
-rw-r--r-- | common/config-manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/config-manager.cpp b/common/config-manager.cpp index f001c1821a..268fac5d2e 100644 --- a/common/config-manager.cpp +++ b/common/config-manager.cpp @@ -114,7 +114,7 @@ void ConfigManager::loadFromStream(SeekableReadStream &stream) { // TODO: Detect if a domain occurs multiple times (or likewise, if // a key occurs multiple times inside one domain). - while (!stream.eos() && !stream.ioFailed()) { + while (!stream.eos() && !stream.err()) { lineno++; // Read a line |