diff options
author | Max Kellermann <max@duempel.org> | 2013-01-30 17:52:51 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-30 21:36:04 +0100 |
commit | 595b6a4f6c2a6f12fb2b3c83f4053942844ffa84 (patch) | |
tree | bdfaf87414fac0359a8fd2e15911098fbe9d6348 /src/audio_config.c | |
parent | daa46477125145dd943122c8064c7271a1a9429f (diff) | |
download | mpd-595b6a4f6c2a6f12fb2b3c83f4053942844ffa84.tar.gz mpd-595b6a4f6c2a6f12fb2b3c83f4053942844ffa84.tar.xz mpd-595b6a4f6c2a6f12fb2b3c83f4053942844ffa84.zip |
ConfigFile: add enum ConfigOption
Look up top-level config options by enum (= integer), not by name
string.
Diffstat (limited to '')
-rw-r--r-- | src/audio_config.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/audio_config.c b/src/audio_config.c index fe7484fb4..bae3c184b 100644 --- a/src/audio_config.c +++ b/src/audio_config.c @@ -47,7 +47,6 @@ void initAudioConfig(void) ret = audio_format_parse(&configured_audio_format, param->value, true, &error); if (!ret) - MPD_ERROR("error parsing \"%s\" at line %i: %s", - CONF_AUDIO_OUTPUT_FORMAT, param->line, - error->message); + MPD_ERROR("error parsing line %i: %s", + param->line, error->message); } |