aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_proxy.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-13 17:10:07 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-13 17:10:07 +0000
commitbfbbb1e8700093783da55c84221fc688eee4c9a0 (patch)
tree83693440965fff521bc21af1debf963b95d77471 /src/gns/test_gns_proxy.c
parentee32003b7e606767f9b89715cb956d863fe067d9 (diff)
downloadgnunet-bfbbb1e8700093783da55c84221fc688eee4c9a0.tar.gz
gnunet-bfbbb1e8700093783da55c84221fc688eee4c9a0.zip
-getting rid of duplication of record type values / enum GNUNET_GNS_RecordType
Diffstat (limited to 'src/gns/test_gns_proxy.c')
-rw-r--r--src/gns/test_gns_proxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/test_gns_proxy.c b/src/gns/test_gns_proxy.c
index 050e2d258..d9c660c86 100644
--- a/src/gns/test_gns_proxy.c
+++ b/src/gns/test_gns_proxy.c
@@ -423,11 +423,11 @@ run (void *cls,
423 423
424 host_key = GNUNET_CRYPTO_ecc_key_create_from_file (zone_keyfile); 424 host_key = GNUNET_CRYPTO_ecc_key_create_from_file (zone_keyfile);
425 rd.expiration_time = GNUNET_TIME_UNIT_FOREVER_ABS.abs_value_us; 425 rd.expiration_time = GNUNET_TIME_UNIT_FOREVER_ABS.abs_value_us;
426 GNUNET_assert (GNUNET_OK == GNUNET_NAMESTORE_string_to_value (GNUNET_GNS_RECORD_A, 426 GNUNET_assert (GNUNET_OK == GNUNET_NAMESTORE_string_to_value (GNUNET_DNSPARSER_TYPE_A,
427 "127.0.0.1", 427 "127.0.0.1",
428 (void**)&rd.data, 428 (void**)&rd.data,
429 &rd.data_size)); 429 &rd.data_size));
430 rd.record_type = GNUNET_GNS_RECORD_A; 430 rd.record_type = GNUNET_DNSPARSER_TYPE_A;
431 431
432 GNUNET_NAMESTORE_record_create (namestore, 432 GNUNET_NAMESTORE_record_create (namestore,
433 host_key, 433 host_key,