summaryrefslogtreecommitdiff
path: root/src/auditordb
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-11-04 10:48:22 +0100
committerChristian Grothoff <christian@grothoff.org>2018-11-04 10:48:32 +0100
commitb39c3f9ca626cf8908f4f552d481dd3e9d162140 (patch)
tree857f95e44a75a19ebab90a98c4788d2511eac089 /src/auditordb
parentdce058af76abad983df4a671616fd76a11bd133f (diff)
downloadexchange-b39c3f9ca626cf8908f4f552d481dd3e9d162140.tar.gz
exchange-b39c3f9ca626cf8908f4f552d481dd3e9d162140.tar.bz2
exchange-b39c3f9ca626cf8908f4f552d481dd3e9d162140.zip
add missing default configs for auditor-httpd, make -u not mandatory as it is not needed for -r and check URL is well-formed if given; fix auditordb exchange insertion/removal logic
Diffstat (limited to 'src/auditordb')
-rw-r--r--src/auditordb/plugin_auditordb_postgres.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c
index 2f426b99d..67f5949d0 100644
--- a/src/auditordb/plugin_auditordb_postgres.c
+++ b/src/auditordb/plugin_auditordb_postgres.c
@@ -1219,7 +1219,7 @@ postgres_insert_exchange (void *cls,
const char *exchange_url)
{
struct GNUNET_PQ_QueryParam params[] = {
- GNUNET_PQ_query_param_auto_from_type (&master_pub),
+ GNUNET_PQ_query_param_auto_from_type (master_pub),
GNUNET_PQ_query_param_string (exchange_url),
GNUNET_PQ_query_param_end
};
@@ -1246,7 +1246,7 @@ postgres_delete_exchange (void *cls,
const struct TALER_MasterPublicKeyP *master_pub)
{
struct GNUNET_PQ_QueryParam params[] = {
- GNUNET_PQ_query_param_auto_from_type (&master_pub),
+ GNUNET_PQ_query_param_auto_from_type (master_pub),
GNUNET_PQ_query_param_end
};