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.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.c')
-rw-r--r-- | src/namestore/test_namestore_api_monitoring.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/namestore/test_namestore_api_monitoring.c b/src/namestore/test_namestore_api_monitoring.c index a0a5ec4b6..6a2418e46 100644 --- a/src/namestore/test_namestore_api_monitoring.c +++ b/src/namestore/test_namestore_api_monitoring.c | |||
@@ -253,6 +253,7 @@ create_record (unsigned int count) | |||
253 | rd[c].record_type = 1111; | 253 | rd[c].record_type = 1111; |
254 | rd[c].data_size = 50; | 254 | rd[c].data_size = 50; |
255 | rd[c].data = GNUNET_malloc(50); | 255 | rd[c].data = GNUNET_malloc(50); |
256 | rd[c].flags = 0; | ||
256 | memset ((char *) rd[c].data, 'a', 50); | 257 | memset ((char *) rd[c].data, 'a', 50); |
257 | } | 258 | } |
258 | return rd; | 259 | return rd; |