diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-11-05 19:58:51 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-11-05 19:58:51 +0000 |
commit | 56f3001a4d745dfa5ad196c1b18c672145c89f4c (patch) | |
tree | 90edfb1a42af668477969ba2e33f63683bf76ecc /src/namestore/test_namestore_api_lookup_public.c | |
parent | fb446b66a47ace773b9768b1d0c1da9c4c2f43b1 (diff) | |
download | gnunet-56f3001a4d745dfa5ad196c1b18c672145c89f4c.tar.gz gnunet-56f3001a4d745dfa5ad196c1b18c672145c89f4c.zip |
-initialize flags to unproblematic value (hence usually zero)
Diffstat (limited to 'src/namestore/test_namestore_api_lookup_public.c')
-rw-r--r-- | src/namestore/test_namestore_api_lookup_public.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/namestore/test_namestore_api_lookup_public.c b/src/namestore/test_namestore_api_lookup_public.c index 42f8fe401..a0678ddc4 100644 --- a/src/namestore/test_namestore_api_lookup_public.c +++ b/src/namestore/test_namestore_api_lookup_public.c | |||
@@ -210,6 +210,7 @@ run (void *cls, | |||
210 | rd.record_type = TEST_RECORD_TYPE; | 210 | rd.record_type = TEST_RECORD_TYPE; |
211 | rd.data_size = TEST_RECORD_DATALEN; | 211 | rd.data_size = TEST_RECORD_DATALEN; |
212 | rd.data = GNUNET_malloc (TEST_RECORD_DATALEN); | 212 | rd.data = GNUNET_malloc (TEST_RECORD_DATALEN); |
213 | rd.flags = 0; | ||
213 | memset ((char *) rd.data, 'a', TEST_RECORD_DATALEN); | 214 | memset ((char *) rd.data, 'a', TEST_RECORD_DATALEN); |
214 | 215 | ||
215 | nsh = GNUNET_NAMESTORE_connect (cfg); | 216 | nsh = GNUNET_NAMESTORE_connect (cfg); |