summaryrefslogtreecommitdiff
path: root/src/bank-lib/taler-exchange-wire-gateway-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bank-lib/taler-exchange-wire-gateway-client.c')
-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 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)
{