fix 1693
authorChristian Grothoff <christian@grothoff.org>
Mon, 18 Jul 2011 18:47:48 +0000 (18:47 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 18 Jul 2011 18:47:48 +0000 (18:47 +0000)
src/fs/fs_search.c

index 77b66f82f48bf06ca81e1b3dd597d25fce2ccfd2..526e6513bdf1ec6d53e9fb3da5758c85e3b3e91b 100644 (file)
@@ -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,