aboutsummaryrefslogtreecommitdiff
path: root/src/pt
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/pt
parentee32003b7e606767f9b89715cb956d863fe067d9 (diff)
-getting rid of duplication of record type values / enum GNUNET_GNS_RecordType
Diffstat (limited to 'src/pt')
-rw-r--r--src/pt/test_gns_vpn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pt/test_gns_vpn.c b/src/pt/test_gns_vpn.c
index 5c31bd779e..0be066317b 100644
--- a/src/pt/test_gns_vpn.c
+++ b/src/pt/test_gns_vpn.c
@@ -395,11 +395,11 @@ run (void *cls,
host_key = GNUNET_CRYPTO_ecc_key_create_from_file (zone_keyfile);
rd.expiration_time = GNUNET_TIME_UNIT_FOREVER_ABS.abs_value_us;
GNUNET_asprintf (&rd_string, "6 %s %s", (char*)&peername, "www.gads.");
- GNUNET_assert (GNUNET_OK == GNUNET_NAMESTORE_string_to_value (GNUNET_GNS_RECORD_VPN,
+ GNUNET_assert (GNUNET_OK == GNUNET_NAMESTORE_string_to_value (GNUNET_NAMESTORE_TYPE_VPN,
rd_string,
(void**)&rd.data,
&rd.data_size));
- rd.record_type = GNUNET_GNS_RECORD_VPN;
+ rd.record_type = GNUNET_NAMESTORE_TYPE_VPN;
GNUNET_NAMESTORE_records_store (namestore,
host_key,