gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant] branch master updated: fix conditional due to 'surprise


From: gnunet
Subject: [taler-merchant] branch master updated: fix conditional due to 'surprise naming'
Date: Tue, 11 Aug 2020 17:32:16 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 346f522  fix conditional due to 'surprise naming'
346f522 is described below

commit 346f5224f419a5c690168ae227a0216fce1e8aec
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Tue Aug 11 21:02:11 2020 +0530

    fix conditional due to 'surprise naming'
---
 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 5e399b9..937ca99 100644
--- a/src/backend/taler-merchant-httpd_get-orders-ID.c
+++ b/src/backend/taler-merchant-httpd_get-orders-ID.c
@@ -1099,7 +1099,7 @@ TMH_get_orders_ID (const struct TMH_RequestHandler *rh,
           GNUNET_memcmp (&h,
                          &god->h_contract_terms))
       {
-        if (0 == GNUNET_is_zero (&god->h_contract_terms))
+        if (0 != GNUNET_is_zero (&god->h_contract_terms))
         {
           /* The client provided a h_contract that's wrong, so complain! */
           GNUNET_break_op (0);

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]