From: Christian Grothoff Date: Tue, 13 Aug 2013 13:27:39 +0000 (+0000) Subject: -adapt PT test to new namestore API X-Git-Tag: initial-import-from-subversion-38251~7879 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;ds=sidebyside;h=6c0f027643f9a6fef37ecf6737899e55985153af;p=oweals%2Fgnunet.git -adapt PT test to new namestore API --- diff --git a/src/Makefile.am b/src/Makefile.am index 1c1f0b541..4ea2836ee 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -15,12 +15,10 @@ endif if LINUX # All of these currently only work on GNU/Linux or W32 - LINUX_DIR = exit vpn -# pt # without namestore, pt currently has some issues... + LINUX_DIR = exit vpn pt endif if MINGW - MINGW_DIR = vpn exit -# pt # without namestore, pt currently has some issues... + MINGW_DIR = vpn exit pt endif if HAVE_MYSQL diff --git a/src/pt/test_gns_vpn.c b/src/pt/test_gns_vpn.c index 2ba72bba9..5c31bd779 100644 --- a/src/pt/test_gns_vpn.c +++ b/src/pt/test_gns_vpn.c @@ -401,12 +401,12 @@ run (void *cls, &rd.data_size)); rd.record_type = GNUNET_GNS_RECORD_VPN; - GNUNET_NAMESTORE_record_put_by_authority (namestore, - host_key, - "www", - 1, &rd, - &commence_testing, - NULL); + GNUNET_NAMESTORE_records_store (namestore, + host_key, + "www", + 1, &rd, + &commence_testing, + NULL); GNUNET_free ((void**)rd.data); GNUNET_free (rd_string); GNUNET_free (zone_keyfile);