From 1defd30dfeb1867c2756b3fe6a437f695951d0c9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 1 Jun 2017 21:48:19 +0200 Subject: adding more good helpers to libgnunetpq --- src/datacache/plugin_datacache_postgres.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/datacache/plugin_datacache_postgres.c') diff --git a/src/datacache/plugin_datacache_postgres.c b/src/datacache/plugin_datacache_postgres.c index 13c2c26a27..8f5cdbde1d 100644 --- a/src/datacache/plugin_datacache_postgres.c +++ b/src/datacache/plugin_datacache_postgres.c @@ -68,8 +68,8 @@ init_connection (struct Plugin *plugin) { PGresult *ret; - plugin->dbh = GNUNET_POSTGRES_connect (plugin->env->cfg, - "datacache-postgres"); + plugin->dbh = GNUNET_PQ_connect_with_cfg (plugin->env->cfg, + "datacache-postgres"); if (NULL == plugin->dbh) return GNUNET_SYSERR; ret = -- cgit v1.2.3-18-g5258