aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-01-22 19:08:09 +0100
committerMax Kellermann <max@duempel.org>2015-01-22 19:08:09 +0100
commit8f2ca8f0853b3aea7897a464bf60efdf75bc91c9 (patch)
tree95b2411b322e67d398837fdd5850fed6b8a0dfe2
parent6725c2afa13c47c4a0f713e61cc19361fd6d1186 (diff)
downloadmpd-8f2ca8f0853b3aea7897a464bf60efdf75bc91c9.tar.gz
mpd-8f2ca8f0853b3aea7897a464bf60efdf75bc91c9.tar.xz
mpd-8f2ca8f0853b3aea7897a464bf60efdf75bc91c9.zip
ConfigFile: fix typo (parser breakage)
-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 {