gnunet-svn
[Top][All Lists]
Advanced

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

[cash2ecash] branch master updated: debugging


From: gnunet
Subject: [cash2ecash] branch master updated: debugging
Date: Thu, 02 Jan 2025 16:15:07 +0100

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

manuel-geissbuehler pushed a commit to branch master
in repository cash2ecash.

The following commit(s) were added to refs/heads/master by this push:
     new 59be4f5  debugging
59be4f5 is described below

commit 59be4f5229963285da8ffe63afbc3edbf0b0f8ea
Author: Manuel Geissbühler <manuel@debian>
AuthorDate: Thu Jan 2 16:14:57 2025 +0100

    debugging
---
 src/bank/bank_lib.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/bank/bank_lib.c b/src/bank/bank_lib.c
index c5705cb..7355bb6 100644
--- a/src/bank/bank_lib.c
+++ b/src/bank/bank_lib.c
@@ -100,8 +100,12 @@ static void account_withdrawal_cb(void *cls,
                   JSON_INDENT (2));
 
   //Assign pointer to results and call callback
-  *par_res_withdrawal_id = awr->details.ok.withdrawal_id; //maybe need to 
strdup?
-  *par_res_taler_withdraw_uri = awr->details.ok.taler_withdraw_uri; //maybe 
need to strdup?
+  *par_res_withdrawal_id = GNUNET_strdup(awr->details.ok.withdrawal_id);
+  *par_res_taler_withdraw_uri = 
GNUNET_strdup(awr->details.ok.taler_withdraw_uri);
+  //*par_res_withdrawal_id = awr->details.ok.withdrawal_id; //maybe need to 
strdup?
+  //*par_res_taler_withdraw_uri = awr->details.ok.taler_withdraw_uri; //maybe 
need to strdup?
+
+  GNUNET_SCHEDULER_shutdown();
   extWithdrawalCallback();
 }
 
@@ -203,7 +207,8 @@ static void withdrawalID_info_cb(void *cls, const struct 
TALER_BANK_WithdrawalID
   GNUNET_SCHEDULER_shutdown();
 
    //Assign pointer to results and call callback
-  *par_res_status = widr->details.ok.status; //maybe need to strdup?
+  *par_res_status = GNUNET_strdup(widr->details.ok.status);
+  //*par_res_status = widr->details.ok.status; //maybe need to strdup?
   extWithdrawalIDInfoCallback();
 }
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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