diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-06 14:47:46 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-06 14:47:56 +0200 |
commit | f1a0ba628e32079eb09103ebace21c4390cd63b6 (patch) | |
tree | 11ffd1395d41564b92253486b21626955b1c2080 /src | |
parent | 978a90e79b086f7a98abc9b0a7f08413ecbce3ec (diff) |
-handle 204 better
Diffstat (limited to 'src')
-rw-r--r-- | src/bank-lib/taler-exchange-wire-gateway-client.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bank-lib/taler-exchange-wire-gateway-client.c b/src/bank-lib/taler-exchange-wire-gateway-client.c index 6159bca3e..6d91d51bd 100644 --- a/src/bank-lib/taler-exchange-wire-gateway-client.c +++ b/src/bank-lib/taler-exchange-wire-gateway-client.c @@ -180,7 +180,8 @@ credit_history_cb (void *cls, { if ( (MHD_HTTP_NO_CONTENT != http_status) || (TALER_EC_NONE != ec) || - (NULL == details) ) + ( (MHD_HTTP_NO_CONTENT != http_status) && + (NULL == details) ) ) { if (0 == http_status) { @@ -293,7 +294,8 @@ debit_history_cb (void *cls, { if ( (MHD_HTTP_NO_CONTENT != http_status) || (TALER_EC_NONE != ec) || - (NULL == details) ) + ( (MHD_HTTP_NO_CONTENT != http_status) && + (NULL == details) ) ) { if (0 == http_status) { |