diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-06-01 21:48:19 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-06-01 21:48:19 +0200 |
commit | 1defd30dfeb1867c2756b3fe6a437f695951d0c9 (patch) | |
tree | b48c0fe6bb32469cfcb4284bfac3142e22417ae8 /src/datacache | |
parent | bbbe0b2404d131cc0d9eda26725b65b47a7e073a (diff) | |
download | gnunet-1defd30dfeb1867c2756b3fe6a437f695951d0c9.tar.gz gnunet-1defd30dfeb1867c2756b3fe6a437f695951d0c9.zip |
adding more good helpers to libgnunetpq
Diffstat (limited to 'src/datacache')
-rw-r--r-- | src/datacache/plugin_datacache_postgres.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datacache/plugin_datacache_postgres.c b/src/datacache/plugin_datacache_postgres.c index 13c2c26a2..8f5cdbde1 100644 --- a/src/datacache/plugin_datacache_postgres.c +++ b/src/datacache/plugin_datacache_postgres.c | |||
@@ -68,8 +68,8 @@ init_connection (struct Plugin *plugin) | |||
68 | { | 68 | { |
69 | PGresult *ret; | 69 | PGresult *ret; |
70 | 70 | ||
71 | plugin->dbh = GNUNET_POSTGRES_connect (plugin->env->cfg, | 71 | plugin->dbh = GNUNET_PQ_connect_with_cfg (plugin->env->cfg, |
72 | "datacache-postgres"); | 72 | "datacache-postgres"); |
73 | if (NULL == plugin->dbh) | 73 | if (NULL == plugin->dbh) |
74 | return GNUNET_SYSERR; | 74 | return GNUNET_SYSERR; |
75 | ret = | 75 | ret = |