summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-bloom.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-05-20 00:36:50 +0200
committerLennart Poettering <lennart@poettering.net>2013-05-20 10:13:38 +0200
commitf11e11e3446f7959c11a60eb0c9b53ed75ef9f42 (patch)
tree24a0fe412375701b8c286bca8f9719d604656b6f /src/libsystemd-bus/bus-bloom.c
parent86312ab8de59c1066d6d2b456f3a9106ce3e0991 (diff)
bus: add test for bloom filter prefix match
Diffstat (limited to 'src/libsystemd-bus/bus-bloom.c')
-rw-r--r--src/libsystemd-bus/bus-bloom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-bloom.c b/src/libsystemd-bus/bus-bloom.c
index cb65e47b4c..04bee8581e 100644
--- a/src/libsystemd-bus/bus-bloom.c
+++ b/src/libsystemd-bus/bus-bloom.c
@@ -49,6 +49,8 @@ void bloom_add_data(uint64_t filter[BLOOM_SIZE/8], const void *data, size_t n) {
for (k = 0; k < ELEMENTSOF(hash); k++)
set_bit(filter, hash[k] & 511);
+
+ /* log_debug("bloom: adding <%.*s>", (int) n, (char*) data); */
}
void bloom_add_pair(uint64_t filter[BLOOM_SIZE/8], const char *a, const char *b) {