From f1a0ba628e32079eb09103ebace21c4390cd63b6 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 6 Aug 2021 14:47:46 +0200 Subject: -handle 204 better --- src/bank-lib/taler-exchange-wire-gateway-client.c | 6 ++++-- 1 file 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) { -- cgit v1.2.3