summaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_zone_iteration.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/test_namestore_api_zone_iteration.c')
-rw-r--r--src/namestore/test_namestore_api_zone_iteration.c2
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);