aboutsummaryrefslogtreecommitdiff
path: root/src/set
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2015-12-16 10:06:38 +0000
committerFlorian Dold <florian.dold@gmail.com>2015-12-16 10:06:38 +0000
commit6cf89fa848bbcb9e1f941bad1ac0c4ec6066fdd7 (patch)
tree2fa08ec588bf9076ab4779efd85c28b7cab31948 /src/set
parent6c80ded8906dfc785b00d734f7d64273cdb6019e (diff)
downloadgnunet-6cf89fa848bbcb9e1f941bad1ac0c4ec6066fdd7.tar.gz
gnunet-6cf89fa848bbcb9e1f941bad1ac0c4ec6066fdd7.zip
Disable salting because it's still buggy.
Diffstat (limited to 'src/set')
-rw-r--r--src/set/gnunet-service-set_union.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/set/gnunet-service-set_union.c b/src/set/gnunet-service-set_union.c
index 6fd609b77..574502cee 100644
--- a/src/set/gnunet-service-set_union.c
+++ b/src/set/gnunet-service-set_union.c
@@ -914,7 +914,8 @@ decode_and_send (struct Operation *op)
914 "# of IBF retries", 914 "# of IBF retries",
915 1, 915 1,
916 GNUNET_NO); 916 GNUNET_NO);
917 op->state->salt_send++; 917 // FIXME: make salt work
918 // op->state->salt_send++;
918 if (GNUNET_OK != 919 if (GNUNET_OK !=
919 send_ibf (op, next_order)) 920 send_ibf (op, next_order))
920 { 921 {
@@ -1025,6 +1026,7 @@ handle_p2p_ibf (void *cls,
1025 1 << msg->order); 1026 1 << msg->order);
1026 op->state->remote_ibf = ibf_create (1<<msg->order, SE_IBF_HASH_NUM); 1027 op->state->remote_ibf = ibf_create (1<<msg->order, SE_IBF_HASH_NUM);
1027 op->state->salt_receive = ntohl (msg->salt); 1028 op->state->salt_receive = ntohl (msg->salt);
1029 LOG (GNUNET_ERROR_TYPE_DEBUG, "Receiving new IBF with salt %u\n", op->state->salt_receive);
1028 if (NULL == op->state->remote_ibf) 1030 if (NULL == op->state->remote_ibf)
1029 { 1031 {
1030 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 1032 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,