-fixing #2405
[oweals/gnunet.git] / src / namestore / test_namestore_api_zone_iteration_specific_zone.c
index 192853e5ac40c61d3f7f26c701c0118e3b166f74..b21c860c82f25c5eee3873d8993a054953be34d6 100644 (file)
@@ -414,7 +414,7 @@ run (void *cls, char *const *args, const char *cfgfile,
   GNUNET_asprintf(&s_name_3, "dummy3");
   s_rd_3 = create_record(1);
   sig_3 = GNUNET_NAMESTORE_create_signature(privkey, s_rd_3[0].expiration, s_name_3, s_rd_3, 1);
-  GNUNET_NAMESTORE_record_put (nsh, &pubkey2, s_name_3, GNUNET_TIME_absolute_get_forever(), 1, s_rd_3, sig_3, &put_cont, NULL);
+  GNUNET_NAMESTORE_record_put (nsh, &pubkey2, s_name_3, GNUNET_TIME_UNIT_FOREVER_ABS, 1, s_rd_3, sig_3, &put_cont, NULL);
 }
 
 static int