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_monitoring_existing.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_monitoring_existing.c')
-rw-r--r-- | src/namestore/test_namestore_api_monitoring_existing.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/namestore/test_namestore_api_monitoring_existing.c b/src/namestore/test_namestore_api_monitoring_existing.c index 16e4e4157..51cd1205d 100644 --- a/src/namestore/test_namestore_api_monitoring_existing.c +++ b/src/namestore/test_namestore_api_monitoring_existing.c | |||
@@ -266,6 +266,7 @@ create_record (unsigned int count) | |||
266 | rd[c].record_type = 1111; | 266 | rd[c].record_type = 1111; |
267 | rd[c].data_size = 50; | 267 | rd[c].data_size = 50; |
268 | rd[c].data = GNUNET_malloc(50); | 268 | rd[c].data = GNUNET_malloc(50); |
269 | rd[c].flags = 0; | ||
269 | memset ((char *) rd[c].data, 'a', 50); | 270 | memset ((char *) rd[c].data, 'a', 50); |
270 | } | 271 | } |
271 | return rd; | 272 | return rd; |