gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-merchant] branch master updated: fix refund cb call


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: fix refund cb call
Date: Wed, 07 Jun 2017 11:51:52 +0200

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new a1fc2db  fix refund cb call
a1fc2db is described below

commit a1fc2db1340437153cc5d6ba4a7277d171c1daba
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Jun 7 11:51:44 2017 +0200

    fix refund cb call
---
 src/backenddb/plugin_merchantdb_postgres.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/backenddb/plugin_merchantdb_postgres.c 
b/src/backenddb/plugin_merchantdb_postgres.c
index 9e9ac4a..f262000 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -1598,6 +1598,7 @@ get_refunds_from_contract_terms_hash (void *cls,
     uint64_t rtransaction_id;
     struct TALER_Amount refund_amount;
     struct TALER_Amount refund_fee;
+    char *reason;
 
     struct GNUNET_PQ_ResultSpec rs[] = {
       GNUNET_PQ_result_spec_auto_from_type ("coin_pub",
@@ -1608,6 +1609,8 @@ get_refunds_from_contract_terms_hash (void *cls,
                                    &refund_amount),
       TALER_PQ_result_spec_amount ("refund_fee",
                                    &refund_fee),
+      GNUNET_PQ_result_spec_string ("reason",
+                                    &reason),
       GNUNET_PQ_result_spec_end
     };
 
@@ -1623,6 +1626,7 @@ get_refunds_from_contract_terms_hash (void *cls,
     rc (rc_cls,
         &coin_pub,
         rtransaction_id,
+        reason,
         &refund_amount,
         &refund_fee);
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]