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_store.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_store.c')
-rw-r--r-- | src/namestore/test_namestore_api_store.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/namestore/test_namestore_api_store.c b/src/namestore/test_namestore_api_store.c index 424c826b7..85c4a2806 100644 --- a/src/namestore/test_namestore_api_store.c +++ b/src/namestore/test_namestore_api_store.c | |||
@@ -134,6 +134,7 @@ run (void *cls, | |||
134 | rd.record_type = TEST_RECORD_TYPE; | 134 | rd.record_type = TEST_RECORD_TYPE; |
135 | rd.data_size = TEST_RECORD_DATALEN; | 135 | rd.data_size = TEST_RECORD_DATALEN; |
136 | rd.data = GNUNET_malloc (TEST_RECORD_DATALEN); | 136 | rd.data = GNUNET_malloc (TEST_RECORD_DATALEN); |
137 | rd.flags = 0; | ||
137 | memset ((char *) rd.data, 'a', TEST_RECORD_DATALEN); | 138 | memset ((char *) rd.data, 'a', TEST_RECORD_DATALEN); |
138 | 139 | ||
139 | nsh = GNUNET_NAMESTORE_connect (cfg); | 140 | nsh = GNUNET_NAMESTORE_connect (cfg); |