From 39277c433a0eeea4cd3cbfa56c2cc51f45a2cac7 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 20 Dec 2022 12:55:42 +0100 Subject: [PATCH] -add missing return --- src/exchange/taler-exchange-wirewatch.c | 10 +++++----- 1 file 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 ();