[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] 01/02: use GNUNET_is_zero correctly (confusing return v
From: |
gnunet |
Subject: |
[taler-merchant] 01/02: use GNUNET_is_zero correctly (confusing return value!) |
Date: |
Thu, 30 Jul 2020 13:27:50 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository merchant.
commit 01702085908a98f2d588e48994dfe59ee813288c
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Thu Jul 30 16:56:53 2020 +0530
use GNUNET_is_zero correctly (confusing return value!)
---
src/backend/taler-merchant-httpd_get-orders-ID.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/taler-merchant-httpd_get-orders-ID.c
b/src/backend/taler-merchant-httpd_get-orders-ID.c
index 8d75bbf..324af10 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=");
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.