diff options
author | Max Kellermann <max@duempel.org> | 2012-01-05 22:24:23 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-01-12 18:59:26 +0100 |
commit | d83dea446343b2d596bf73b7ab868d56e0fe3f44 (patch) | |
tree | 6555ec1f19bdc98f62e0ab9aefa9e082f2aa2d96 /src/db | |
parent | ec43721c3cd5d45ec905141ec0c02e7feacd9d80 (diff) | |
download | mpd-d83dea446343b2d596bf73b7ab868d56e0fe3f44.tar.gz mpd-d83dea446343b2d596bf73b7ab868d56e0fe3f44.tar.xz mpd-d83dea446343b2d596bf73b7ab868d56e0fe3f44.zip |
db/simple: pass the correct GError pointer
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/simple_db_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/simple_db_plugin.c b/src/db/simple_db_plugin.c index e359b5e65..e7cf41fa2 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) |