aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_dht_threepeer.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2012-06-29 09:45:43 +0000
committerMartin Schanzenbach <mschanzenbach@posteo.de>2012-06-29 09:45:43 +0000
commit674e485bc34defc68cf1a8b4909cec9a4c5040d9 (patch)
tree7c1cda274c68879d1e5cdadc4c5f27c52299880a /src/gns/test_gns_dht_threepeer.c
parent3d4e4063c5358975976ba6c060ab0e3ba2357e0b (diff)
downloadgnunet-674e485bc34defc68cf1a8b4909cec9a4c5040d9.tar.gz
gnunet-674e485bc34defc68cf1a8b4909cec9a4c5040d9.zip
-fix inconsisten record naming
Diffstat (limited to 'src/gns/test_gns_dht_threepeer.c')
-rw-r--r--src/gns/test_gns_dht_threepeer.c4
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);