[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r34486 - gnunet/src/scalarproduct
From: |
gnunet |
Subject: |
[GNUnet-SVN] r34486 - gnunet/src/scalarproduct |
Date: |
Sun, 7 Dec 2014 01:10:45 +0100 |
Author: grothoff
Date: 2014-12-07 01:10:45 +0100 (Sun, 07 Dec 2014)
New Revision: 34486
Modified:
gnunet/src/scalarproduct/gnunet-service-scalarproduct_alice.c
gnunet/src/scalarproduct/gnunet-service-scalarproduct_bob.c
Log:
-internal logic consistency check
Modified: gnunet/src/scalarproduct/gnunet-service-scalarproduct_alice.c
===================================================================
--- gnunet/src/scalarproduct/gnunet-service-scalarproduct_alice.c
2014-12-06 23:25:37 UTC (rev 34485)
+++ gnunet/src/scalarproduct/gnunet-service-scalarproduct_alice.c
2014-12-07 00:10:45 UTC (rev 34486)
@@ -916,6 +916,7 @@
/* this element has been removed from the set */
se = GNUNET_CONTAINER_multihashmap_get (s->intersected_elements,
element->data);
+ GNUNET_assert (NULL != se);
LOG (GNUNET_ERROR_TYPE_DEBUG,
"Intersection removed element with key %s and value %lld\n",
GNUNET_h2s (&se->key),
Modified: gnunet/src/scalarproduct/gnunet-service-scalarproduct_bob.c
===================================================================
--- gnunet/src/scalarproduct/gnunet-service-scalarproduct_bob.c 2014-12-06
23:25:37 UTC (rev 34485)
+++ gnunet/src/scalarproduct/gnunet-service-scalarproduct_bob.c 2014-12-07
00:10:45 UTC (rev 34486)
@@ -955,6 +955,7 @@
/* this element has been removed from the set */
se = GNUNET_CONTAINER_multihashmap_get (s->intersected_elements,
element->data);
+ GNUNET_assert (NULL != se);
LOG (GNUNET_ERROR_TYPE_DEBUG,
"Removed element with key %s and value %lld\n",
GNUNET_h2s (&se->key),
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r34486 - gnunet/src/scalarproduct,
gnunet <=