aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_create.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/test_namestore_api_create.c')
-rw-r--r--src/namestore/test_namestore_api_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/namestore/test_namestore_api_create.c b/src/namestore/test_namestore_api_create.c
index 4eac96df6..667bf0827 100644
--- a/src/namestore/test_namestore_api_create.c
+++ b/src/namestore/test_namestore_api_create.c
@@ -316,7 +316,7 @@ create_record (unsigned int count)
316 rd = GNUNET_malloc (count * sizeof (struct GNUNET_NAMESTORE_RecordData)); 316 rd = GNUNET_malloc (count * sizeof (struct GNUNET_NAMESTORE_RecordData));
317 for (c = 0; c < count; c++) 317 for (c = 0; c < count; c++)
318 { 318 {
319 rd[c].expiration_time = GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_HOURS).abs_value; 319 rd[c].expiration_time = GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_HOURS).abs_value_us;
320 rd[c].record_type = TEST_RECORD_TYPE; 320 rd[c].record_type = TEST_RECORD_TYPE;
321 rd[c].data_size = TEST_RECORD_DATALEN; 321 rd[c].data_size = TEST_RECORD_DATALEN;
322 rd[c].data = GNUNET_malloc(TEST_RECORD_DATALEN); 322 rd[c].data = GNUNET_malloc(TEST_RECORD_DATALEN);