aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-12-07 00:10:45 +0000
committerChristian Grothoff <christian@grothoff.org>2014-12-07 00:10:45 +0000
commitfcea691a0f179abf8bde499ac9c68ce34f58422e (patch)
treef9111f07458c3e6b0b42973e48c1eec0308d06a4 /src
parent3ef479df1a6b1b788e3214e98fe701419685a30f (diff)
downloadgnunet-fcea691a0f179abf8bde499ac9c68ce34f58422e.tar.gz
gnunet-fcea691a0f179abf8bde499ac9c68ce34f58422e.zip
-internal logic consistency check
Diffstat (limited to 'src')
-rw-r--r--src/scalarproduct/gnunet-service-scalarproduct_alice.c1
-rw-r--r--src/scalarproduct/gnunet-service-scalarproduct_bob.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/scalarproduct/gnunet-service-scalarproduct_alice.c b/src/scalarproduct/gnunet-service-scalarproduct_alice.c
index 888f9d1f0..1cfc2a89f 100644
--- a/src/scalarproduct/gnunet-service-scalarproduct_alice.c
+++ b/src/scalarproduct/gnunet-service-scalarproduct_alice.c
@@ -916,6 +916,7 @@ cb_intersection_element_removed (void *cls,
916 /* this element has been removed from the set */ 916 /* this element has been removed from the set */
917 se = GNUNET_CONTAINER_multihashmap_get (s->intersected_elements, 917 se = GNUNET_CONTAINER_multihashmap_get (s->intersected_elements,
918 element->data); 918 element->data);
919 GNUNET_assert (NULL != se);
919 LOG (GNUNET_ERROR_TYPE_DEBUG, 920 LOG (GNUNET_ERROR_TYPE_DEBUG,
920 "Intersection removed element with key %s and value %lld\n", 921 "Intersection removed element with key %s and value %lld\n",
921 GNUNET_h2s (&se->key), 922 GNUNET_h2s (&se->key),
diff --git a/src/scalarproduct/gnunet-service-scalarproduct_bob.c b/src/scalarproduct/gnunet-service-scalarproduct_bob.c
index fdc2d955d..2a452c64f 100644
--- a/src/scalarproduct/gnunet-service-scalarproduct_bob.c
+++ b/src/scalarproduct/gnunet-service-scalarproduct_bob.c
@@ -955,6 +955,7 @@ cb_intersection_element_removed (void *cls,
955 /* this element has been removed from the set */ 955 /* this element has been removed from the set */
956 se = GNUNET_CONTAINER_multihashmap_get (s->intersected_elements, 956 se = GNUNET_CONTAINER_multihashmap_get (s->intersected_elements,
957 element->data); 957 element->data);
958 GNUNET_assert (NULL != se);
958 LOG (GNUNET_ERROR_TYPE_DEBUG, 959 LOG (GNUNET_ERROR_TYPE_DEBUG,
959 "Removed element with key %s and value %lld\n", 960 "Removed element with key %s and value %lld\n",
960 GNUNET_h2s (&se->key), 961 GNUNET_h2s (&se->key),