summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-06 14:47:46 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-06 14:47:56 +0200
commitf1a0ba628e32079eb09103ebace21c4390cd63b6 (patch)
tree11ffd1395d41564b92253486b21626955b1c2080
parent978a90e79b086f7a98abc9b0a7f08413ecbce3ec (diff)
downloadexchange-f1a0ba628e32079eb09103ebace21c4390cd63b6.tar.gz
exchange-f1a0ba628e32079eb09103ebace21c4390cd63b6.tar.bz2
exchange-f1a0ba628e32079eb09103ebace21c4390cd63b6.zip
-handle 204 better
-rw-r--r--src/bank-lib/taler-exchange-wire-gateway-client.c6
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 6159bca3..6d91d51b 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)
{