From 58996b841ac1a19794d704b5622480adc165c434 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 26 Jun 2015 08:05:20 +0200 Subject: config/Global: allow calling config_get_string() with one argument default_value defaults to nullptr. --- test/read_conf.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/read_conf.cxx') diff --git a/test/read_conf.cxx b/test/read_conf.cxx index cb3cb207e..fdf93a40d 100644 --- a/test/read_conf.cxx +++ b/test/read_conf.cxx @@ -47,7 +47,7 @@ int main(int argc, char **argv) ConfigOption option = ParseConfigOptionName(name); const char *value = option != ConfigOption::MAX - ? config_get_string(option, nullptr) + ? config_get_string(option) : nullptr; int ret; if (value != NULL) { -- cgit v1.2.3