aboutsummaryrefslogtreecommitdiff
path: root/src/auditordb/pg_insert_emergency.c
diff options
context:
space:
mode:
authorCedric Zwahlen <cedric.zwahlen@students.bfh.ch>2024-04-05 02:03:24 +0200
committerCedric Zwahlen <cedric.zwahlen@students.bfh.ch>2024-04-19 20:47:31 +0200
commite96b1e7ae3ff7d6b44e4fb6a30d81f689afb4320 (patch)
tree35776ec5e8ec44066a3baeadb5bc18df15443cfa /src/auditordb/pg_insert_emergency.c
parentb657e22d470f53dd9a876bc8580a0f38b91fb9b8 (diff)
downloadexchange-e96b1e7ae3ff7d6b44e4fb6a30d81f689afb4320.tar.gz
exchange-e96b1e7ae3ff7d6b44e4fb6a30d81f689afb4320.tar.bz2
exchange-e96b1e7ae3ff7d6b44e4fb6a30d81f689afb4320.zip
Fix and Improve CRUD files (still in progress)
Diffstat (limited to 'src/auditordb/pg_insert_emergency.c')
-rw-r--r--src/auditordb/pg_insert_emergency.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/auditordb/pg_insert_emergency.c b/src/auditordb/pg_insert_emergency.c
index 0287006f6..64ed9b8f6 100644
--- a/src/auditordb/pg_insert_emergency.c
+++ b/src/auditordb/pg_insert_emergency.c
@@ -15,12 +15,12 @@
*/
-#include "pg_insert_emergency.h"
-
#include "platform.h"
#include "taler_pq_lib.h"
#include "pg_helper.h"
+#include "pg_insert_emergency.h"
+
enum GNUNET_DB_QueryStatus
TAH_PG_insert_emergency (
void *cls,
@@ -32,9 +32,9 @@ TAH_PG_insert_emergency (
GNUNET_PQ_query_param_auto_from_type (&dc->denompub_h),
TALER_PQ_query_param_amount (pg->conn, &dc->denom_risk),
TALER_PQ_query_param_amount (pg->conn, &dc->denom_loss),
- GNUNET_PQ_query_param_int64 (dc->deposit_start),
- GNUNET_PQ_query_param_int64 (dc->deposit_end),
- TALER_PQ_query_param_amount (pg->conn,dc->value),
+ GNUNET_PQ_query_param_int64 (&dc->deposit_start),
+ GNUNET_PQ_query_param_int64 (&dc->deposit_end),
+ TALER_PQ_query_param_amount (pg->conn,&dc->value),
GNUNET_PQ_query_param_end
};