diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-29 15:55:08 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-29 15:55:08 +0000 |
commit | 20bef67d7b8a216bd2ebaafb30dbb19770e549c2 (patch) | |
tree | 8470bed089ee511e844b726aa0a3171b54aa76fe /src/namestore/test_namestore_api_zone_iteration.c | |
parent | b510c934e38ef0eb4ea959af5be94f4490ddb667 (diff) | |
download | gnunet-20bef67d7b8a216bd2ebaafb30dbb19770e549c2.tar.gz gnunet-20bef67d7b8a216bd2ebaafb30dbb19770e549c2.zip |
-more fixes to namestore
Diffstat (limited to 'src/namestore/test_namestore_api_zone_iteration.c')
-rw-r--r-- | src/namestore/test_namestore_api_zone_iteration.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/namestore/test_namestore_api_zone_iteration.c b/src/namestore/test_namestore_api_zone_iteration.c index 1d5f013cb..78b390cc6 100644 --- a/src/namestore/test_namestore_api_zone_iteration.c +++ b/src/namestore/test_namestore_api_zone_iteration.c | |||
@@ -353,7 +353,7 @@ create_record (unsigned int count) | |||
353 | rd = GNUNET_malloc (count * sizeof (struct GNUNET_NAMESTORE_RecordData)); | 353 | rd = GNUNET_malloc (count * sizeof (struct GNUNET_NAMESTORE_RecordData)); |
354 | for (c = 0; c < count; c++) | 354 | for (c = 0; c < count; c++) |
355 | { | 355 | { |
356 | rd[c].expiration_time = GNUNET_TIME_absolute_get().abs_value; | 356 | rd[c].expiration_time = GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_HOURS).abs_value; |
357 | rd[c].record_type = 1111; | 357 | rd[c].record_type = 1111; |
358 | rd[c].data_size = 50; | 358 | rd[c].data_size = 50; |
359 | rd[c].data = GNUNET_malloc(50); | 359 | rd[c].data = GNUNET_malloc(50); |