gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: try using macro to comment out l


From: gnunet
Subject: [taler-merchant] branch master updated: try using macro to comment out legacy logic
Date: Fri, 16 Oct 2020 15:56:12 +0200

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

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new eab97f3  try using macro to comment out legacy logic
eab97f3 is described below

commit eab97f38f37cd42da5d4508e083c7f70eba39163
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Oct 16 15:56:10 2020 +0200

    try using macro to comment out legacy logic
---
 src/testing/testing_api_cmd_post_transfers.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/testing/testing_api_cmd_post_transfers.c 
b/src/testing/testing_api_cmd_post_transfers.c
index 3bfd694..e036576 100644
--- a/src/testing/testing_api_cmd_post_transfers.c
+++ b/src/testing/testing_api_cmd_post_transfers.c
@@ -152,11 +152,13 @@ transfers_cb (void *cls,
   {
   case MHD_HTTP_OK:
     {
-      // struct TALER_Amount total;
-
       pts->execution_time = execution_time;
       pts->wire_fee = *wire_fee;
-      /*
+#if FIXME_WRITE_PROPPER_CHECK_OF_RETURNED_DATA_HERE
+      /* this code is some legacy logic that is close to what we
+         need but needs to be updated to the current API */
+      struct TALER_Amount total;
+
       if (0 >
           TALER_amount_subtract (&total,
                                  total_amount,
@@ -283,7 +285,8 @@ transfers_cb (void *cls,
         TALER_TESTING_interpreter_fail (pts->is);
         return;
       }
-      */break;
+#endif
+      break;
     }
   default:
     GNUNET_break (0);

-- 
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]