diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-13 17:10:07 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-13 17:10:07 +0000 |
commit | bfbbb1e8700093783da55c84221fc688eee4c9a0 (patch) | |
tree | 83693440965fff521bc21af1debf963b95d77471 /src/pt | |
parent | ee32003b7e606767f9b89715cb956d863fe067d9 (diff) | |
download | gnunet-bfbbb1e8700093783da55c84221fc688eee4c9a0.tar.gz gnunet-bfbbb1e8700093783da55c84221fc688eee4c9a0.zip |
-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pt/test_gns_vpn.c b/src/pt/test_gns_vpn.c index 5c31bd779..0be066317 100644 --- a/src/pt/test_gns_vpn.c +++ b/src/pt/test_gns_vpn.c | |||
@@ -395,11 +395,11 @@ run (void *cls, | |||
395 | host_key = GNUNET_CRYPTO_ecc_key_create_from_file (zone_keyfile); | 395 | host_key = GNUNET_CRYPTO_ecc_key_create_from_file (zone_keyfile); |
396 | rd.expiration_time = GNUNET_TIME_UNIT_FOREVER_ABS.abs_value_us; | 396 | rd.expiration_time = GNUNET_TIME_UNIT_FOREVER_ABS.abs_value_us; |
397 | GNUNET_asprintf (&rd_string, "6 %s %s", (char*)&peername, "www.gads."); | 397 | GNUNET_asprintf (&rd_string, "6 %s %s", (char*)&peername, "www.gads."); |
398 | GNUNET_assert (GNUNET_OK == GNUNET_NAMESTORE_string_to_value (GNUNET_GNS_RECORD_VPN, | 398 | GNUNET_assert (GNUNET_OK == GNUNET_NAMESTORE_string_to_value (GNUNET_NAMESTORE_TYPE_VPN, |
399 | rd_string, | 399 | rd_string, |
400 | (void**)&rd.data, | 400 | (void**)&rd.data, |
401 | &rd.data_size)); | 401 | &rd.data_size)); |
402 | rd.record_type = GNUNET_GNS_RECORD_VPN; | 402 | rd.record_type = GNUNET_NAMESTORE_TYPE_VPN; |
403 | 403 | ||
404 | GNUNET_NAMESTORE_records_store (namestore, | 404 | GNUNET_NAMESTORE_records_store (namestore, |
405 | host_key, | 405 | host_key, |