Commit 8f2ca8f0 authored by Max Kellermann's avatar Max Kellermann

ConfigFile: fix typo (parser breakage)

parent 6725c2af
...@@ -141,7 +141,7 @@ Append(ConfigBlock *&head, ConfigBlock *p) ...@@ -141,7 +141,7 @@ Append(ConfigBlock *&head, ConfigBlock *p)
static bool static bool
ReadConfigBlock(ConfigData &config_data, BufferedReader &reader, ReadConfigBlock(ConfigData &config_data, BufferedReader &reader,
const char *name, ConfigOption o, const char *name, ConfigBlockOption o,
Tokenizer &tokenizer, Tokenizer &tokenizer,
Error &error) Error &error)
{ {
...@@ -278,7 +278,7 @@ ReadConfigFile(ConfigData &config_data, BufferedReader &reader, Error &error) ...@@ -278,7 +278,7 @@ ReadConfigFile(ConfigData &config_data, BufferedReader &reader, Error &error)
tokenizer, error)) tokenizer, error))
return false; return false;
} else if ((bo = ParseConfigBlockOptionName(name)) != ConfigBlockOption::MAX) { } else if ((bo = ParseConfigBlockOptionName(name)) != ConfigBlockOption::MAX) {
if (!ReadConfigBlock(config_data, reader, name, o, if (!ReadConfigBlock(config_data, reader, name, bo,
tokenizer, error)) tokenizer, error))
return false; return false;
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment