[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r28567 - in gnunet/src: . pt
From: |
gnunet |
Subject: |
[GNUnet-SVN] r28567 - in gnunet/src: . pt |
Date: |
Tue, 13 Aug 2013 15:27:39 +0200 |
Author: grothoff
Date: 2013-08-13 15:27:39 +0200 (Tue, 13 Aug 2013)
New Revision: 28567
Modified:
gnunet/src/Makefile.am
gnunet/src/pt/test_gns_vpn.c
Log:
-adapt PT test to new namestore API
Modified: gnunet/src/Makefile.am
===================================================================
--- gnunet/src/Makefile.am 2013-08-13 13:26:13 UTC (rev 28566)
+++ gnunet/src/Makefile.am 2013-08-13 13:27:39 UTC (rev 28567)
@@ -15,12 +15,10 @@
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
Modified: gnunet/src/pt/test_gns_vpn.c
===================================================================
--- gnunet/src/pt/test_gns_vpn.c 2013-08-13 13:26:13 UTC (rev 28566)
+++ gnunet/src/pt/test_gns_vpn.c 2013-08-13 13:27:39 UTC (rev 28567)
@@ -401,12 +401,12 @@
&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);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r28567 - in gnunet/src: . pt,
gnunet <=