aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_simple_lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/test_gns_simple_lookup.c')
-rw-r--r--src/gns/test_gns_simple_lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gns/test_gns_simple_lookup.c b/src/gns/test_gns_simple_lookup.c
index 12d7a68ac..89a9aefee 100644
--- a/src/gns/test_gns_simple_lookup.c
+++ b/src/gns/test_gns_simple_lookup.c
@@ -220,7 +220,7 @@ do_lookup(void *cls, const struct GNUNET_PeerIdentity *id,
220 struct GNUNET_NAMESTORE_RecordData rd; 220 struct GNUNET_NAMESTORE_RecordData rd;
221 char* ip = TEST_IP; 221 char* ip = TEST_IP;
222 struct in_addr *web = GNUNET_malloc(sizeof(struct in_addr)); 222 struct in_addr *web = GNUNET_malloc(sizeof(struct in_addr));
223 rd.expiration = GNUNET_TIME_absolute_get_forever (); 223 rd.expiration = GNUNET_TIME_UNIT_FOREVER_ABS;
224 GNUNET_assert(1 == inet_pton (AF_INET, ip, web)); 224 GNUNET_assert(1 == inet_pton (AF_INET, ip, web));
225 rd.data_size = sizeof(struct in_addr); 225 rd.data_size = sizeof(struct in_addr);
226 rd.data = web; 226 rd.data = web;