diff options
Diffstat (limited to 'src/gns/test_gns_dht_threepeer.c')
-rw-r--r-- | src/gns/test_gns_dht_threepeer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/test_gns_dht_threepeer.c b/src/gns/test_gns_dht_threepeer.c index 9c0c99d77..46f2adba1 100644 --- a/src/gns/test_gns_dht_threepeer.c +++ b/src/gns/test_gns_dht_threepeer.c | |||
@@ -201,7 +201,7 @@ commence_testing(void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
201 | 201 | ||
202 | gh = GNUNET_GNS_connect(alice_cfg); | 202 | gh = GNUNET_GNS_connect(alice_cfg); |
203 | 203 | ||
204 | GNUNET_GNS_lookup(gh, TEST_DOMAIN, GNUNET_GNS_RECORD_TYPE_A, | 204 | GNUNET_GNS_lookup(gh, TEST_DOMAIN, GNUNET_GNS_RECORD_A, |
205 | GNUNET_NO, | 205 | GNUNET_NO, |
206 | NULL, | 206 | NULL, |
207 | &on_lookup_result, TEST_DOMAIN); | 207 | &on_lookup_result, TEST_DOMAIN); |
@@ -330,7 +330,7 @@ daemon_started (void *cls, const struct GNUNET_PeerIdentity *id, | |||
330 | GNUNET_assert(1 == inet_pton (AF_INET, TEST_IP, web)); | 330 | GNUNET_assert(1 == inet_pton (AF_INET, TEST_IP, web)); |
331 | rd.data_size = sizeof(struct in_addr); | 331 | rd.data_size = sizeof(struct in_addr); |
332 | rd.data = web; | 332 | rd.data = web; |
333 | rd.record_type = GNUNET_GNS_RECORD_TYPE_A; | 333 | rd.record_type = GNUNET_GNS_RECORD_A; |
334 | rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY; | 334 | rd.flags = GNUNET_NAMESTORE_RF_AUTHORITY; |
335 | 335 | ||
336 | GNUNET_NAMESTORE_record_create (ns, key, "www", &rd, NULL, NULL); | 336 | GNUNET_NAMESTORE_record_create (ns, key, "www", &rd, NULL, NULL); |