gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-exchange] 01/03: fix compiler warning


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] 01/03: fix compiler warning
Date: Wed, 04 Apr 2018 00:14:28 +0200

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

dold pushed a commit to branch master
in repository exchange.

commit b48013bd561e5f10bef55091f320356fd5fa6f6f
Author: Florian Dold <address@hidden>
AuthorDate: Tue Apr 3 23:31:18 2018 +0200

    fix compiler warning
---
 src/exchange-lib/testing_api_cmd_track.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/exchange-lib/testing_api_cmd_track.c 
b/src/exchange-lib/testing_api_cmd_track.c
index 3f14c51..bbad7b7 100644
--- a/src/exchange-lib/testing_api_cmd_track.c
+++ b/src/exchange-lib/testing_api_cmd_track.c
@@ -519,16 +519,15 @@ track_transfer_cb
     return;
   }
 
-  switch (http_status)
-  {
-
-  if (
-    (NULL == tts->expected_total_amount) ||
-      (NULL == tts->expected_wire_fee))
+  if ( (NULL == tts->expected_total_amount) ||
+       (NULL == tts->expected_wire_fee) )
     GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
                 "Expected amount and fee not specified, "
                 "likely to segfault...\n");
 
+
+  switch (http_status)
+  {
   case MHD_HTTP_OK:
     if (GNUNET_OK !=
         TALER_string_to_amount (tts->expected_total_amount,

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



reply via email to

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