From 8f2ca8f0853b3aea7897a464bf60efdf75bc91c9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 22 Jan 2015 19:08:09 +0100 Subject: ConfigFile: fix typo (parser breakage) --- src/config/ConfigFile.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/config') 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 { -- cgit v1.2.3