summaryrefslogtreecommitdiff
path: root/src/auditordb/plugin_auditordb_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-02-09 15:53:28 +0100
committerChristian Grothoff <christian@grothoff.org>2020-02-09 15:53:28 +0100
commitae5583f04434cf39a5ae7a6f623bfc76322f9eb3 (patch)
treea9a98a90d2392fb1fb4808f5822eccd50818dfd2 /src/auditordb/plugin_auditordb_postgres.c
parent001f1552089fbd1e7fea540d2561c79bab2dfbac (diff)
downloadexchange-ae5583f04434cf39a5ae7a6f623bfc76322f9eb3.tar.gz
exchange-ae5583f04434cf39a5ae7a6f623bfc76322f9eb3.tar.bz2
exchange-ae5583f04434cf39a5ae7a6f623bfc76322f9eb3.zip
avoid duping configuration, start to use PQ_connect_with_cfg
Diffstat (limited to 'src/auditordb/plugin_auditordb_postgres.c')
-rw-r--r--src/auditordb/plugin_auditordb_postgres.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c
index 30db303b0..08d24fd7f 100644
--- a/src/auditordb/plugin_auditordb_postgres.c
+++ b/src/auditordb/plugin_auditordb_postgres.c
@@ -3244,7 +3244,7 @@ postgres_get_predicted_balance (void *cls,
void *
libtaler_plugin_auditordb_postgres_init (void *cls)
{
- struct GNUNET_CONFIGURATION_Handle *cfg = cls;
+ const struct GNUNET_CONFIGURATION_Handle *cfg = cls;
struct PostgresClosure *pg;
struct TALER_AUDITORDB_Plugin *plugin;
const char *ec;