diff options
author | Florian Dold <florian.dold@gmail.com> | 2013-08-13 14:08:18 +0000 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2013-08-13 14:08:18 +0000 |
commit | 2f99cb5435272d35eb23d46a269217944a120464 (patch) | |
tree | e8fd50a8716a713ede41e5eba49c2f0074f63ab8 /src/set | |
parent | f0912f4f9366cbb833f3c77291306aa95b54cd10 (diff) | |
download | gnunet-2f99cb5435272d35eb23d46a269217944a120464.tar.gz gnunet-2f99cb5435272d35eb23d46a269217944a120464.zip |
- IBF alpha adjusted
- it's not an error to insert elements twice
---This line, and those below, will be ignored--
M set/gnunet-service-set.c
M set/gnunet-service-set_union.c
Diffstat (limited to 'src/set')
-rw-r--r-- | src/set/gnunet-service-set.c | 2 | ||||
-rw-r--r-- | src/set/gnunet-service-set_union.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/set/gnunet-service-set.c b/src/set/gnunet-service-set.c index fa6fb5a6b..141977bcb 100644 --- a/src/set/gnunet-service-set.c +++ b/src/set/gnunet-service-set.c | |||
@@ -755,7 +755,7 @@ handle_client_add_remove (void *cls, | |||
755 | &ee->element_hash); | 755 | &ee->element_hash); |
756 | if (NULL != ee_dup) | 756 | if (NULL != ee_dup) |
757 | { | 757 | { |
758 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "element inserted twice, ignoring\n"); | 758 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "element inserted twice, ignoring\n"); |
759 | GNUNET_free (ee); | 759 | GNUNET_free (ee); |
760 | return; | 760 | return; |
761 | } | 761 | } |
diff --git a/src/set/gnunet-service-set_union.c b/src/set/gnunet-service-set_union.c index 0e58e71ce..e9b585f33 100644 --- a/src/set/gnunet-service-set_union.c +++ b/src/set/gnunet-service-set_union.c | |||
@@ -63,7 +63,7 @@ | |||
63 | * Number of buckets used in the ibf per estimated | 63 | * Number of buckets used in the ibf per estimated |
64 | * difference. | 64 | * difference. |
65 | */ | 65 | */ |
66 | #define IBF_ALPHA 1 | 66 | #define IBF_ALPHA 3 |
67 | 67 | ||
68 | 68 | ||
69 | /** | 69 | /** |