diff options
-rw-r--r-- | src/bank-lib/fakebank_twg_history.c | 2 | ||||
-rw-r--r-- | src/exchange/taler-exchange-httpd_kyc-proof.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/bank-lib/fakebank_twg_history.c b/src/bank-lib/fakebank_twg_history.c index 35cc6587f..c10358c1a 100644 --- a/src/bank-lib/fakebank_twg_history.c +++ b/src/bank-lib/fakebank_twg_history.c @@ -148,6 +148,7 @@ TALER_FAKEBANK_twg_get_debit_history_ ( (0 < hc->ha.delta)) { acc_payto_uri = hc->acc->payto_uri; + in_shutdown = h->in_shutdown; GNUNET_assert (0 == pthread_mutex_unlock (&h->big_lock)); if (overflow) @@ -162,6 +163,7 @@ TALER_FAKEBANK_twg_get_debit_history_ ( if (h->in_shutdown) { acc_payto_uri = hc->acc->payto_uri; + in_shutdown = h->in_shutdown; GNUNET_assert (0 == pthread_mutex_unlock (&h->big_lock)); goto finish; diff --git a/src/exchange/taler-exchange-httpd_kyc-proof.c b/src/exchange/taler-exchange-httpd_kyc-proof.c index b223e6a1a..bad377a2a 100644 --- a/src/exchange/taler-exchange-httpd_kyc-proof.c +++ b/src/exchange/taler-exchange-httpd_kyc-proof.c @@ -327,6 +327,7 @@ proof_cb ( case TALER_KYCLOGIC_STATUS_PROVIDER_FAILED: case TALER_KYCLOGIC_STATUS_USER_ABORTED: case TALER_KYCLOGIC_STATUS_ABORTED: + GNUNET_assert (NULL == kpc->kat); GNUNET_log (GNUNET_ERROR_TYPE_INFO, "KYC process %s/%s (Row #%llu) failed: %d\n", provider_user_id, |