aboutsummaryrefslogtreecommitdiff
path: root/src/set/gnunet-service-set_union.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-07-06 15:24:26 +0000
committerChristian Grothoff <christian@grothoff.org>2016-07-06 15:24:26 +0000
commit3d7bae58c4b9b128e6000a2fe1fe65595235bb14 (patch)
treed50cfa569c5d447da5663333e61964c47ac09f73 /src/set/gnunet-service-set_union.c
parent6cef8fea0c3b6756870786ebc4db0588373c8f65 (diff)
downloadgnunet-3d7bae58c4b9b128e6000a2fe1fe65595235bb14.tar.gz
gnunet-3d7bae58c4b9b128e6000a2fe1fe65595235bb14.zip
misc fixes
Diffstat (limited to 'src/set/gnunet-service-set_union.c')
-rw-r--r--src/set/gnunet-service-set_union.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/set/gnunet-service-set_union.c b/src/set/gnunet-service-set_union.c
index aeb706ec3..c7f30a741 100644
--- a/src/set/gnunet-service-set_union.c
+++ b/src/set/gnunet-service-set_union.c
@@ -449,7 +449,7 @@ op_register_element (struct Operation *op,
449 449
450static void 450static void
451salt_key (const struct IBF_Key *k_in, 451salt_key (const struct IBF_Key *k_in,
452 uint32_t salt, 452 uint32_t salt,
453 struct IBF_Key *k_out) 453 struct IBF_Key *k_out)
454{ 454{
455 int s = salt % 64; 455 int s = salt % 64;
@@ -462,7 +462,7 @@ salt_key (const struct IBF_Key *k_in,
462 462
463static void 463static void
464unsalt_key (const struct IBF_Key *k_in, 464unsalt_key (const struct IBF_Key *k_in,
465 uint32_t salt, 465 uint32_t salt,
466 struct IBF_Key *k_out) 466 struct IBF_Key *k_out)
467{ 467{
468 int s = salt % 64; 468 int s = salt % 64;
@@ -752,6 +752,7 @@ handle_p2p_strata_estimator (void *cls,
752 { 752 {
753 /* decompression failed */ 753 /* decompression failed */
754 fail_union_operation (op); 754 fail_union_operation (op);
755 strata_estimator_destroy (remote_se);
755 return GNUNET_SYSERR; 756 return GNUNET_SYSERR;
756 } 757 }
757 GNUNET_assert (NULL != op->state->se); 758 GNUNET_assert (NULL != op->state->se);