diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-09-30 00:51:39 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-09-30 00:51:39 +0000 |
commit | c6c111abd1e7ffec4c5dacbb25baf9ed6b9da695 (patch) | |
tree | 480e93570aca18edc049aa69240443db5e711f21 /src/util | |
parent | 99d164de0eb5a50eada7a1d96ac9e7fd613d38ee (diff) | |
download | gnunet-c6c111abd1e7ffec4c5dacbb25baf9ed6b9da695.tar.gz gnunet-c6c111abd1e7ffec4c5dacbb25baf9ed6b9da695.zip |
nicer
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/container_bloomfilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/container_bloomfilter.c b/src/util/container_bloomfilter.c index ebd056128..a3152000b 100644 --- a/src/util/container_bloomfilter.c +++ b/src/util/container_bloomfilter.c | |||
@@ -340,7 +340,7 @@ iterateBits (const struct GNUNET_CONTAINER_BloomFilter *bf, | |||
340 | unsigned int slot = 0; | 340 | unsigned int slot = 0; |
341 | 341 | ||
342 | bitCount = bf->addressesPerElement; | 342 | bitCount = bf->addressesPerElement; |
343 | memcpy (&tmp[0], key, sizeof (GNUNET_HashCode)); | 343 | tmp[0] = *key; |
344 | round = 0; | 344 | round = 0; |
345 | while (bitCount > 0) | 345 | while (bitCount > 0) |
346 | { | 346 | { |