[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:42 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to annotated tag v0.5.0
in repository exchange.
commit db3bef92c66e014485e54eca5c05a15abc029eed
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