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_zone_iteration.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_zone_iteration.c')
-rw-r--r-- | src/namestore/test_namestore_api_zone_iteration.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/namestore/test_namestore_api_zone_iteration.c b/src/namestore/test_namestore_api_zone_iteration.c index 7ff21a39d..f2eb1d17b 100644 --- a/src/namestore/test_namestore_api_zone_iteration.c +++ b/src/namestore/test_namestore_api_zone_iteration.c | |||
@@ -330,6 +330,7 @@ create_record (unsigned int count) | |||
330 | rd[c].record_type = 1111; | 330 | rd[c].record_type = 1111; |
331 | rd[c].data_size = 50; | 331 | rd[c].data_size = 50; |
332 | rd[c].data = GNUNET_malloc(50); | 332 | rd[c].data = GNUNET_malloc(50); |
333 | rd[c].flags = 0; | ||
333 | memset ((char *) rd[c].data, 'a', 50); | 334 | memset ((char *) rd[c].data, 'a', 50); |
334 | } | 335 | } |
335 | return rd; | 336 | return rd; |