[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r36285 - gnunet/src/set
From: |
gnunet |
Subject: |
[GNUnet-SVN] r36285 - gnunet/src/set |
Date: |
Sun, 30 Aug 2015 22:58:59 +0200 |
Author: dold
Date: 2015-08-30 22:58:59 +0200 (Sun, 30 Aug 2015)
New Revision: 36285
Modified:
gnunet/src/set/gnunet-service-set_intersection.c
Log:
fix inverted condition in set intersection
Modified: gnunet/src/set/gnunet-service-set_intersection.c
===================================================================
--- gnunet/src/set/gnunet-service-set_intersection.c 2015-08-30 20:54:44 UTC
(rev 36284)
+++ gnunet/src/set/gnunet-service-set_intersection.c 2015-08-30 20:58:59 UTC
(rev 36285)
@@ -239,7 +239,7 @@
GNUNET_h2s (&ee->element_hash),
ee->element.size);
- if (_GSS_is_element_of_operation (ee, op))
+ if (GNUNET_NO == _GSS_is_element_of_operation (ee, op))
{
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Reduced initialization, not starting with %s:%u (wrong
generation)\n",
@@ -785,7 +785,7 @@
struct ElementEntry *ee = value;
struct Operation *op = cls;
- if (_GSS_is_element_of_operation (ee, op))
+ if (GNUNET_NO == _GSS_is_element_of_operation (ee, op))
return GNUNET_YES; /* element not live in operation's generation */
GNUNET_CRYPTO_hash_xor (&op->state->my_xor,
&ee->element_hash,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r36285 - gnunet/src/set,
gnunet <=