aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/exchange/taler-exchange-wirewatch.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/exchange/taler-exchange-wirewatch.c b/src/exchange/taler-exchange-wirewatch.c
index b528d270..f4e2d8a0 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 ();