[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant] branch master updated: fix wrong use of GN
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant] branch master updated: fix wrong use of GNUNET_PQ_query_param_auto_from_type |
Date: |
Mon, 26 Aug 2019 01:09:55 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new a7a5ffd fix wrong use of GNUNET_PQ_query_param_auto_from_type
a7a5ffd is described below
commit a7a5ffd520d0f3e76202d14097dc7eb6e51f5c4e
Author: Florian Dold <address@hidden>
AuthorDate: Mon Aug 26 01:09:49 2019 +0200
fix wrong use of GNUNET_PQ_query_param_auto_from_type
---
src/backenddb/plugin_merchantdb_postgres.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/backenddb/plugin_merchantdb_postgres.c
b/src/backenddb/plugin_merchantdb_postgres.c
index 7b3f2c3..01ce78e 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -1162,9 +1162,9 @@ postgres_insert_session_info (void *cls,
struct GNUNET_TIME_Absolute now = GNUNET_TIME_absolute_get ();
struct GNUNET_PQ_QueryParam params[] = {
- GNUNET_PQ_query_param_auto_from_type (session_id),
- GNUNET_PQ_query_param_auto_from_type (resource_url),
- GNUNET_PQ_query_param_auto_from_type (order_id),
+ GNUNET_PQ_query_param_string (session_id),
+ GNUNET_PQ_query_param_string (resource_url),
+ GNUNET_PQ_query_param_string (order_id),
GNUNET_PQ_query_param_auto_from_type (merchant_pub),
GNUNET_PQ_query_param_absolute_time (&now),
GNUNET_PQ_query_param_end
@@ -1197,8 +1197,8 @@ postgres_find_session_info (void *cls,
struct PostgresClosure *pg = cls;
struct GNUNET_PQ_QueryParam params[] = {
- GNUNET_PQ_query_param_auto_from_type (resource_url),
- GNUNET_PQ_query_param_auto_from_type (session_id),
+ GNUNET_PQ_query_param_string (resource_url),
+ GNUNET_PQ_query_param_string (session_id),
GNUNET_PQ_query_param_auto_from_type (merchant_pub),
GNUNET_PQ_query_param_end
};
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-merchant] branch master updated: fix wrong use of GNUNET_PQ_query_param_auto_from_type,
gnunet <=