aboutsummaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-01-05 22:24:23 +0100
committerMax Kellermann <max@duempel.org>2012-01-12 18:59:26 +0100
commitd83dea446343b2d596bf73b7ab868d56e0fe3f44 (patch)
tree6555ec1f19bdc98f62e0ab9aefa9e082f2aa2d96 /src/db
parentec43721c3cd5d45ec905141ec0c02e7feacd9d80 (diff)
db/simple: pass the correct GError pointer
Diffstat (limited to 'src/db')
-rw-r--r--src/db/simple_db_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/simple_db_plugin.c b/src/db/simple_db_plugin.c
index e359b5e6..e7cf41fa 100644
--- a/src/db/simple_db_plugin.c
+++ b/src/db/simple_db_plugin.c
@@ -68,7 +68,7 @@ simple_db_init(const struct config_param *param, GError **error_r)
db_base_init(&db->base, &simple_db_plugin);
GError *error = NULL;
- db->path = config_dup_block_path(param, "path", error_r);
+ db->path = config_dup_block_path(param, "path", &error);
if (db->path == NULL) {
g_free(db);
if (error != NULL)