diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-03-01 17:25:42 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-03-01 17:25:42 +0000 |
commit | 21bde531fcb169673d931461994a5aa1aa12e09f (patch) | |
tree | 5fe016a4334beb3bbed6c4d55f6cb08ec2e76261 /src/namestore/test_namestore_api_remove.c | |
parent | 3862df84d4e39ab20330223186544e2193cbeee6 (diff) | |
download | gnunet-21bde531fcb169673d931461994a5aa1aa12e09f.tar.gz gnunet-21bde531fcb169673d931461994a5aa1aa12e09f.zip |
- memfix
Diffstat (limited to 'src/namestore/test_namestore_api_remove.c')
-rw-r--r-- | src/namestore/test_namestore_api_remove.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/namestore/test_namestore_api_remove.c b/src/namestore/test_namestore_api_remove.c index 31631da7d..5dfdd1a01 100644 --- a/src/namestore/test_namestore_api_remove.c +++ b/src/namestore/test_namestore_api_remove.c | |||
@@ -246,10 +246,9 @@ create_record (int count) | |||
246 | rd[0].expiration = GNUNET_TIME_absolute_get(); | 246 | rd[0].expiration = GNUNET_TIME_absolute_get(); |
247 | rd[0].record_type = 0; | 247 | rd[0].record_type = 0; |
248 | rd[0].data_size = TEST_REMOVE_RECORD_DATALEN; | 248 | rd[0].data_size = TEST_REMOVE_RECORD_DATALEN; |
249 | rd[0].data = GNUNET_malloc(TEST_RECORD_DATALEN); | 249 | rd[0].data = GNUNET_malloc(TEST_REMOVE_RECORD_DATALEN); |
250 | memset ((char *) rd[0].data, TEST_RECORD_DATA, TEST_RECORD_DATALEN); | 250 | memset ((char *) rd[0].data, TEST_RECORD_DATA, TEST_RECORD_DATALEN); |
251 | 251 | ||
252 | |||
253 | for (c = 1; c < RECORDS; c++) | 252 | for (c = 1; c < RECORDS; c++) |
254 | { | 253 | { |
255 | rd[c].expiration = GNUNET_TIME_absolute_get(); | 254 | rd[c].expiration = GNUNET_TIME_absolute_get(); |