commit f1a0ba628e32079eb09103ebace21c4390cd63b6 parent 978a90e79b086f7a98abc9b0a7f08413ecbce3ec Author: Christian Grothoff <christian@grothoff.org> Date: Fri, 6 Aug 2021 14:47:46 +0200 -handle 204 better Diffstat:
| M | 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 @@ -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) {