aboutsummaryrefslogtreecommitdiffstats
path: root/src/Main.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-04 13:51:27 +0200
committerMax Kellermann <max@duempel.org>2013-08-04 14:07:50 +0200
commit65842cd99e82e30801bf287cd027c14e4ce3bd15 (patch)
tree13794e35372bde7e07e006bba87d1a66a9d4ea7f /src/Main.cxx
parentbf6ed643e01687ed21b3a21cb3f77a1042e22c15 (diff)
downloadmpd-65842cd99e82e30801bf287cd027c14e4ce3bd15.tar.gz
mpd-65842cd99e82e30801bf287cd027c14e4ce3bd15.tar.xz
mpd-65842cd99e82e30801bf287cd027c14e4ce3bd15.zip
DatabasePlugin: pass config_param reference
Diffstat (limited to 'src/Main.cxx')
-rw-r--r--src/Main.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index 1cde2a908..c0824fc55 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -193,7 +193,7 @@ glue_db_init_and_load(void)
param = allocated;
}
- if (!DatabaseGlobalInit(param, &error))
+ if (!DatabaseGlobalInit(*param, &error))
MPD_ERROR("%s", error->message);
delete allocated;