gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-mdb] 17/23: invert checks


From: gnunet
Subject: [taler-taler-mdb] 17/23: invert checks
Date: Wed, 04 Dec 2019 14:16:03 +0100

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

grothoff pushed a commit to branch master
in repository taler-mdb.

commit 010104710d5f8147807d1286521984ef450615c2
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Dec 4 13:16:36 2019 +0100

    invert checks
---
 src/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main.c b/src/main.c
index d6d2ced..5c54a6e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1342,7 +1342,7 @@ handle_command (const char *hex,
     {
       unsigned int subcmd;
 
-      if (4 < hex_len)
+      if (4 > hex_len)
       {
         GNUNET_break_op (0);
         return;
@@ -1365,7 +1365,7 @@ handle_command (const char *hex,
           unsigned int product;
 
           /* NOTE: hex[4..7] contain the price */
-          if (12 < hex_len)
+          if (12 > hex_len)
           {
             GNUNET_break_op (0);
             return;

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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