-LRN: initialize rd to avoid having garbage in flags
[oweals/gnunet.git] / src / namestore / test_namestore_api_zone_iteration_stop.c
index 4974875d12b7f324ceea4763eda433fe3523d6d1..3b2da0f196f3544ebfbda35f80e848fa208537a6 100644 (file)
@@ -361,7 +361,7 @@ create_record (unsigned int count)
   rd = GNUNET_malloc (count * sizeof (struct GNUNET_NAMESTORE_RecordData));
   for (c = 0; c < count; c++)
   {
-    rd[c].expiration_time = GNUNET_TIME_absolute_get().abs_value;
+    rd[c].expiration_time = GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_HOURS).abs_value;
     rd[c].record_type = 1111;
     rd[c].data_size = 50;
     rd[c].data = GNUNET_malloc(50);