summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-07-18 18:47:48 +0000
committerChristian Grothoff <christian@grothoff.org>2011-07-18 18:47:48 +0000
commit22d82e8715bb04cfc53fa732b270405ef290d165 (patch)
tree9c81404607d55d433428a0ff48b788b11cd497c0
parenta6f08ad1892f336176ddf45f7f5032d6c1dafe40 (diff)
fix 1693
-rw-r--r--src/fs/fs_search.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fs/fs_search.c b/src/fs/fs_search.c
index 77b66f82f..526e6513b 100644
--- a/src/fs/fs_search.c
+++ b/src/fs/fs_search.c
@@ -1074,6 +1074,7 @@ transmit_search_request (void *cls,
sm->options = htonl (0);
sm->type = htonl (GNUNET_BLOCK_TYPE_ANY);
sm->anonymity_level = htonl (sc->anonymity);
+ memset (&sm->target, 0, sizeof (GNUNET_HashCode));
sm->query = sc->requests[sc->keyword_offset].query;
msize += sizeof (GNUNET_HashCode) * mbc.put_cnt;
GNUNET_CONTAINER_multihashmap_iterate (sc->master_result_map,