aboutsummaryrefslogtreecommitdiffstats
path: root/src/Main.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/Main.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/Main.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index 613a253b2..7c98c956b 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -190,8 +190,7 @@ glue_db_init_and_load(void)
if (param == NULL && path != NULL) {
allocated = new config_param("database", path->line);
- config_add_block_param(allocated, "path",
- path->value, path->line);
+ allocated->AddBlockParam("path", path->value, path->line);
param = allocated;
}