aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_zone_iteration_stop.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_stop.c
parentb510c934e38ef0eb4ea959af5be94f4490ddb667 (diff)
downloadgnunet-20bef67d7b8a216bd2ebaafb30dbb19770e549c2.tar.gz
gnunet-20bef67d7b8a216bd2ebaafb30dbb19770e549c2.zip
-more fixes to namestore
Diffstat (limited to 'src/namestore/test_namestore_api_zone_iteration_stop.c')
-rw-r--r--src/namestore/test_namestore_api_zone_iteration_stop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/namestore/test_namestore_api_zone_iteration_stop.c b/src/namestore/test_namestore_api_zone_iteration_stop.c
index 4974875d1..3b2da0f19 100644
--- a/src/namestore/test_namestore_api_zone_iteration_stop.c
+++ b/src/namestore/test_namestore_api_zone_iteration_stop.c
@@ -361,7 +361,7 @@ create_record (unsigned int count)
361 rd = GNUNET_malloc (count * sizeof (struct GNUNET_NAMESTORE_RecordData)); 361 rd = GNUNET_malloc (count * sizeof (struct GNUNET_NAMESTORE_RecordData));
362 for (c = 0; c < count; c++) 362 for (c = 0; c < count; c++)
363 { 363 {
364 rd[c].expiration_time = GNUNET_TIME_absolute_get().abs_value; 364 rd[c].expiration_time = GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_HOURS).abs_value;
365 rd[c].record_type = 1111; 365 rd[c].record_type = 1111;
366 rd[c].data_size = 50; 366 rd[c].data_size = 50;
367 rd[c].data = GNUNET_malloc(50); 367 rd[c].data = GNUNET_malloc(50);