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)
static bool
ReadConfigBlock(ConfigData &config_data, BufferedReader &reader,
const char *name, ConfigOption o,
const char *name, ConfigBlockOption o,
Tokenizer &tokenizer,
Error &error)
{
......@@ -278,7 +278,7 @@ ReadConfigFile(ConfigData &config_data, BufferedReader &reader, Error &error)
tokenizer, error))
return false;
} else if ((bo = ParseConfigBlockOptionName(name)) != ConfigBlockOption::MAX) {
if (!ReadConfigBlock(config_data, reader, name, o,
if (!ReadConfigBlock(config_data, reader, name, bo,
tokenizer, error))
return false;
} 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