aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_lookup_public.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-18 13:39:01 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-18 13:39:01 +0000
commit6a327b51613a52e4f1341a0ddaa3946d3810d1fd (patch)
tree7716e9d044aff16b17bee25484c1af9902b8860b /src/namestore/test_namestore_api_lookup_public.c
parent4217ac4cb6ad2dd900326d51163a4770d59596d4 (diff)
downloadgnunet-6a327b51613a52e4f1341a0ddaa3946d3810d1fd.tar.gz
gnunet-6a327b51613a52e4f1341a0ddaa3946d3810d1fd.zip
-do not use expired records, they'll be removed internally now
Diffstat (limited to 'src/namestore/test_namestore_api_lookup_public.c')
-rw-r--r--src/namestore/test_namestore_api_lookup_public.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/namestore/test_namestore_api_lookup_public.c b/src/namestore/test_namestore_api_lookup_public.c
index a119e34d6..42f8fe401 100644
--- a/src/namestore/test_namestore_api_lookup_public.c
+++ b/src/namestore/test_namestore_api_lookup_public.c
@@ -206,7 +206,7 @@ run (void *cls,
206 GNUNET_CRYPTO_ecdsa_key_get_public (privkey, &pubkey); 206 GNUNET_CRYPTO_ecdsa_key_get_public (privkey, &pubkey);
207 207
208 208
209 rd.expiration_time = GNUNET_TIME_absolute_get().abs_value_us; 209 rd.expiration_time = GNUNET_TIME_absolute_get().abs_value_us + 1000000000;
210 rd.record_type = TEST_RECORD_TYPE; 210 rd.record_type = TEST_RECORD_TYPE;
211 rd.data_size = TEST_RECORD_DATALEN; 211 rd.data_size = TEST_RECORD_DATALEN;
212 rd.data = GNUNET_malloc (TEST_RECORD_DATALEN); 212 rd.data = GNUNET_malloc (TEST_RECORD_DATALEN);