diff options
Diffstat (limited to 'src/bank-lib')
-rw-r--r-- | src/bank-lib/taler-bank-transfer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bank-lib/taler-bank-transfer.c b/src/bank-lib/taler-bank-transfer.c index 9065122d5..2793e5322 100644 --- a/src/bank-lib/taler-bank-transfer.c +++ b/src/bank-lib/taler-bank-transfer.c @@ -132,7 +132,7 @@ do_shutdown (void *cls) TALER_BANK_debit_history_cancel (dhh); dhh = NULL; } - if ( (NULL != eh) && (0 != global_ret)) + if (NULL != eh) { TALER_BANK_transfer_cancel (eh); eh = NULL; @@ -372,6 +372,7 @@ confirmation_cb (void *cls, struct GNUNET_TIME_Absolute timestamp) { (void) cls; + eh = NULL; if (MHD_HTTP_OK != response_code) { fprintf (stderr, |