summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-05-15 14:47:21 +0200
committerChristian Grothoff <christian@grothoff.org>2015-05-15 14:47:21 +0200
commit80bc5d86e96f610387f872175ae7f212e985fc6a (patch)
tree629b70b71f04871ec80ae286161079c8011ed4d5 /src
parent85f198ef32012b02d72a7e4af2924f69b6625f73 (diff)
downloadexchange-80bc5d86e96f610387f872175ae7f212e985fc6a.tar.gz
exchange-80bc5d86e96f610387f872175ae7f212e985fc6a.tar.bz2
exchange-80bc5d86e96f610387f872175ae7f212e985fc6a.zip
adapt to API change
Diffstat (limited to 'src')
-rw-r--r--src/mintdb/plugin_mintdb_postgres.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mintdb/plugin_mintdb_postgres.c b/src/mintdb/plugin_mintdb_postgres.c
index 706ea4736..45599f6e9 100644
--- a/src/mintdb/plugin_mintdb_postgres.c
+++ b/src/mintdb/plugin_mintdb_postgres.c
@@ -962,7 +962,7 @@ postgres_reserves_update (void *cls,
if (NULL == reserve)
return GNUNET_SYSERR;
struct TALER_PQ_QueryParam params[] = {
- TALER_PQ_QUERY_PARAM_ABSOLUTE_TIME (reserve->expiry),
+ TALER_PQ_QUERY_PARAM_ABSOLUTE_TIME (&reserve->expiry),
TALER_PQ_QUERY_PARAM_AMOUNT (&reserve->balance),
TALER_PQ_QUERY_PARAM_PTR (&reserve->pub),
TALER_PQ_QUERY_PARAM_END
@@ -1036,7 +1036,7 @@ postgres_reserves_in_insert (void *cls,
struct TALER_PQ_QueryParam params[] = {
TALER_PQ_QUERY_PARAM_PTR (reserve_pub),
TALER_PQ_QUERY_PARAM_AMOUNT (balance),
- TALER_PQ_QUERY_PARAM_ABSOLUTE_TIME (expiry),
+ TALER_PQ_QUERY_PARAM_ABSOLUTE_TIME (&expiry),
TALER_PQ_QUERY_PARAM_END
};
result = TALER_PQ_exec_prepared (session->conn,
@@ -1076,7 +1076,7 @@ postgres_reserves_in_insert (void *cls,
TALER_PQ_QUERY_PARAM_PTR (&reserve.pub),
TALER_PQ_QUERY_PARAM_AMOUNT (balance),
TALER_PQ_QUERY_PARAM_PTR_SIZED (details, strlen (details)),
- TALER_PQ_QUERY_PARAM_ABSOLUTE_TIME (expiry),
+ TALER_PQ_QUERY_PARAM_ABSOLUTE_TIME (&expiry),
TALER_PQ_QUERY_PARAM_END
};
result = TALER_PQ_exec_prepared (session->conn,