diff options
Diffstat (limited to '')
-rw-r--r-- | test/read_conf.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/read_conf.cxx b/test/read_conf.cxx index 42afdfb4b..fdf93a40d 100644 --- a/test/read_conf.cxx +++ b/test/read_conf.cxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2014 The Music Player Daemon Project + * Copyright (C) 2003-2015 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -46,8 +46,8 @@ int main(int argc, char **argv) } ConfigOption option = ParseConfigOptionName(name); - const char *value = option != CONF_MAX - ? config_get_string(option, nullptr) + const char *value = option != ConfigOption::MAX + ? config_get_string(option) : nullptr; int ret; if (value != NULL) { |