aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_zone_iteration_specific_zone.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-06-29 15:55:08 +0000
committerChristian Grothoff <christian@grothoff.org>2012-06-29 15:55:08 +0000
commit20bef67d7b8a216bd2ebaafb30dbb19770e549c2 (patch)
tree8470bed089ee511e844b726aa0a3171b54aa76fe /src/namestore/test_namestore_api_zone_iteration_specific_zone.c
parentb510c934e38ef0eb4ea959af5be94f4490ddb667 (diff)
downloadgnunet-20bef67d7b8a216bd2ebaafb30dbb19770e549c2.tar.gz
gnunet-20bef67d7b8a216bd2ebaafb30dbb19770e549c2.zip
-more fixes to namestore
Diffstat (limited to 'src/namestore/test_namestore_api_zone_iteration_specific_zone.c')
-rw-r--r--src/namestore/test_namestore_api_zone_iteration_specific_zone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/namestore/test_namestore_api_zone_iteration_specific_zone.c b/src/namestore/test_namestore_api_zone_iteration_specific_zone.c
index 429636e4b..3ee452b69 100644
--- a/src/namestore/test_namestore_api_zone_iteration_specific_zone.c
+++ b/src/namestore/test_namestore_api_zone_iteration_specific_zone.c
@@ -312,7 +312,7 @@ create_record (unsigned int count)
312 rd = GNUNET_malloc (count * sizeof (struct GNUNET_NAMESTORE_RecordData)); 312 rd = GNUNET_malloc (count * sizeof (struct GNUNET_NAMESTORE_RecordData));
313 for (c = 0; c < count; c++) 313 for (c = 0; c < count; c++)
314 { 314 {
315 rd[c].expiration_time = GNUNET_TIME_absolute_get().abs_value; 315 rd[c].expiration_time = GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_HOURS).abs_value;
316 rd[c].record_type = 1111; 316 rd[c].record_type = 1111;
317 rd[c].data_size = 50; 317 rd[c].data_size = 50;
318 rd[c].data = GNUNET_malloc(50); 318 rd[c].data = GNUNET_malloc(50);