summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-07-30 16:56:53 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-07-30 16:56:53 +0530
commit01702085908a98f2d588e48994dfe59ee813288c (patch)
tree2976070fd67fffbead0d9a2546bb22a08f60f40c /src
parente767cbf44e87dc8394a75a74b488a2b064469880 (diff)
downloadmerchant-01702085908a98f2d588e48994dfe59ee813288c.tar.gz
merchant-01702085908a98f2d588e48994dfe59ee813288c.tar.bz2
merchant-01702085908a98f2d588e48994dfe59ee813288c.zip
use GNUNET_is_zero correctly (confusing return value!)
Diffstat (limited to 'src')
-rw-r--r--src/backend/taler-merchant-httpd_get-orders-ID.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_get-orders-ID.c b/src/backend/taler-merchant-httpd_get-orders-ID.c
index 8d75bbf2..324af10c 100644
--- a/src/backend/taler-merchant-httpd_get-orders-ID.c
+++ b/src/backend/taler-merchant-httpd_get-orders-ID.c
@@ -689,7 +689,7 @@ TMH_make_taler_pay_uri (struct MHD_Connection *con,
GNUNET_buffer_write_path (&buf,
(session_id == NULL) ? "" : session_id);
if ((NULL != claim_token) &&
- (GNUNET_NO == GNUNET_is_zero (claim_token)))
+ (0 != GNUNET_is_zero (claim_token)))
{
GNUNET_buffer_write_str (&buf,
"&c=");