commit 39277c433a0eeea4cd3cbfa56c2cc51f45a2cac7
parent aa59b125f21f2a8ec224d6ac46da9f442d9bb0f5
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 20 Dec 2022 12:55:42 +0100
-add missing return
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git 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 ();