summaryrefslogtreecommitdiff
path: root/src/datastore/test_datastore_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datastore/test_datastore_api.c')
-rw-r--r--src/datastore/test_datastore_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datastore/test_datastore_api.c b/src/datastore/test_datastore_api.c
index 10a195cfb..ae7782d6c 100644
--- a/src/datastore/test_datastore_api.c
+++ b/src/datastore/test_datastore_api.c
@@ -95,7 +95,7 @@ get_expiration (int i)
95{ 95{
96 struct GNUNET_TIME_Absolute av; 96 struct GNUNET_TIME_Absolute av;
97 97
98 av.value = now.value + 20000000 - i * 1000; 98 av.abs_value = now.abs_value + 20000000 - i * 1000;
99 return av; 99 return av;
100} 100}
101 101
@@ -213,7 +213,7 @@ check_value (void *cls,
213 GNUNET_assert (type == get_type (i)); 213 GNUNET_assert (type == get_type (i));
214 GNUNET_assert (priority == get_priority (i)); 214 GNUNET_assert (priority == get_priority (i));
215 GNUNET_assert (anonymity == get_anonymity(i)); 215 GNUNET_assert (anonymity == get_anonymity(i));
216 GNUNET_assert (expiration.value == get_expiration(i).value); 216 GNUNET_assert (expiration.abs_value == get_expiration(i).abs_value);
217 GNUNET_DATASTORE_get_next (datastore, GNUNET_YES); 217 GNUNET_DATASTORE_get_next (datastore, GNUNET_YES);
218} 218}
219 219