aboutsummaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/ConfigFile.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/ConfigFile.cxx b/src/config/ConfigFile.cxx
index a5ad020d4..b6164b8bc 100644
--- a/src/config/ConfigFile.cxx
+++ b/src/config/ConfigFile.cxx
@@ -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 {