aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_create.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-11 21:21:56 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-11 21:21:56 +0000
commit3d7fefedc9ba60bd8e8448efe8b628446d958536 (patch)
tree61ce41a52cd6e7232cead77818ef265993b2427e /src/namestore/test_namestore_api_create.c
parent4a0398474db197abed243a123fb971fbeeffab4b (diff)
downloadgnunet-3d7fefedc9ba60bd8e8448efe8b628446d958536.tar.gz
gnunet-3d7fefedc9ba60bd8e8448efe8b628446d958536.zip
changing time measurement from milliseconds to microseconds
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);