aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wire-plugins/plugin_wire_taler-bank.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/wire-plugins/plugin_wire_taler-bank.c b/src/wire-plugins/plugin_wire_taler-bank.c
index e1db643d3..eed57cb97 100644
--- a/src/wire-plugins/plugin_wire_taler-bank.c
+++ b/src/wire-plugins/plugin_wire_taler-bank.c
@@ -913,7 +913,7 @@ bhist_cb (void *cls,
whh->hh = NULL;
taler_bank_get_history_cancel (NULL,
whh);
- break;
+ return;
default:
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Bank failed with HTTP status %u (EC: %u)\n",
@@ -929,9 +929,8 @@ bhist_cb (void *cls,
whh->hh = NULL;
taler_bank_get_history_cancel (NULL,
whh);
- break;
+ return;
}
- whh->hh = NULL;
}