diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-07-16 20:35:10 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-07-16 20:35:10 +0000 |
commit | f138394d15bda25c7aae11ef6aa86f580cf15316 (patch) | |
tree | 696040c147c97d4e6145fb49cf9dec5fceae4551 /src/datastore | |
parent | 1200ea518e3b1f59f32e92d80640c4b4d31cd2b0 (diff) | |
download | gnunet-f138394d15bda25c7aae11ef6aa86f580cf15316.tar.gz gnunet-f138394d15bda25c7aae11ef6aa86f580cf15316.zip |
voidret
Diffstat (limited to 'src/datastore')
-rw-r--r-- | src/datastore/plugin_datastore_postgres.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/datastore/plugin_datastore_postgres.c b/src/datastore/plugin_datastore_postgres.c index 115259dbf..0327018e4 100644 --- a/src/datastore/plugin_datastore_postgres.c +++ b/src/datastore/plugin_datastore_postgres.c | |||
@@ -159,10 +159,10 @@ init_connection (struct Plugin *plugin) | |||
159 | 159 | ||
160 | /* Open database and precompile statements */ | 160 | /* Open database and precompile statements */ |
161 | conninfo = NULL; | 161 | conninfo = NULL; |
162 | GNUNET_CONFIGURATION_get_value_string (plugin->env->cfg, | 162 | (void) GNUNET_CONFIGURATION_get_value_string (plugin->env->cfg, |
163 | "datastore-postgres", | 163 | "datastore-postgres", |
164 | "CONFIG", | 164 | "CONFIG", |
165 | &conninfo); | 165 | &conninfo); |
166 | plugin->dbh = PQconnectdb (conninfo == NULL ? "" : conninfo); | 166 | plugin->dbh = PQconnectdb (conninfo == NULL ? "" : conninfo); |
167 | if (NULL == plugin->dbh) | 167 | if (NULL == plugin->dbh) |
168 | { | 168 | { |