diff options
Diffstat (limited to '')
-rw-r--r-- | src/DatabaseGlue.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DatabaseGlue.cxx b/src/DatabaseGlue.cxx index db7d4b9f3..e2076be28 100644 --- a/src/DatabaseGlue.cxx +++ b/src/DatabaseGlue.cxx @@ -50,13 +50,13 @@ static bool db_is_open; static bool is_simple; bool -DatabaseGlobalInit(const config_param *param, GError **error_r) +DatabaseGlobalInit(const config_param ¶m, GError **error_r) { assert(db == NULL); assert(!db_is_open); const char *plugin_name = - config_get_block_string(param, "plugin", "simple"); + param.GetBlockValue("plugin", "simple"); is_simple = strcmp(plugin_name, "simple") == 0; const DatabasePlugin *plugin = GetDatabasePluginByName(plugin_name); |