aboutsummaryrefslogtreecommitdiffstats
path: root/src/ConfigFile.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-30 22:25:17 +0100
committerMax Kellermann <max@duempel.org>2013-01-30 22:25:17 +0100
commit6e47e797909564460fbf30372000c8a879e0f891 (patch)
treeb1d0dab0ed9c720dc7707a927c24554c15f76698 /src/ConfigFile.cxx
parentd9ea3082fb608935c72620e272f4b3e74b2c3a44 (diff)
downloadmpd-6e47e797909564460fbf30372000c8a879e0f891.tar.gz
mpd-6e47e797909564460fbf30372000c8a879e0f891.tar.xz
mpd-6e47e797909564460fbf30372000c8a879e0f891.zip
ConfigData: move functions into the class
Diffstat (limited to '')
-rw-r--r--src/ConfigFile.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ConfigFile.cxx b/src/ConfigFile.cxx
index aea2e58ae..d5b539e7a 100644
--- a/src/ConfigFile.cxx
+++ b/src/ConfigFile.cxx
@@ -75,7 +75,7 @@ config_read_name_value(struct config_param *param, char *input, unsigned line,
return false;
}
- const struct block_param *bp = config_get_block_param(param, name);
+ const struct block_param *bp = param->GetBlockParam(name);
if (bp != NULL) {
g_set_error(error_r, config_quark(), 0,
"\"%s\" is duplicate, first defined on line %i",
@@ -83,7 +83,7 @@ config_read_name_value(struct config_param *param, char *input, unsigned line,
return false;
}
- config_add_block_param(param, name, value, line);
+ param->AddBlockParam(name, value, line);
return true;
}