diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-12-20 12:55:42 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-12-20 12:55:42 +0100 |
commit | 39277c433a0eeea4cd3cbfa56c2cc51f45a2cac7 (patch) | |
tree | db21c60852b1b89c37f003750ab98e8a2aec441b | |
parent | aa59b125f21f2a8ec224d6ac46da9f442d9bb0f5 (diff) |
-add missing return
-rw-r--r-- | src/exchange/taler-exchange-wirewatch.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/exchange/taler-exchange-wirewatch.c b/src/exchange/taler-exchange-wirewatch.c index b528d270a..f4e2d8a00 100644 --- a/src/exchange/taler-exchange-wirewatch.c +++ b/src/exchange/taler-exchange-wirewatch.c @@ -1071,7 +1071,7 @@ history_cb (void *cls, reply->details.success.details_length); break; } - break; + return; case MHD_HTTP_NO_CONTENT: transaction_completed (); return; @@ -1083,12 +1083,12 @@ history_cb (void *cls, } break; default: + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "Error fetching history: %s (%u)\n", + TALER_ErrorCode_get_hint (reply->ec), + reply->http_status); break; } - GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "Error fetching history: %s (%u)\n", - TALER_ErrorCode_get_hint (reply->ec), - reply->http_status); if (! exit_on_error) { transaction_completed (); |