aboutsummaryrefslogtreecommitdiff
path: root/src/pt
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-10-09 13:51:15 +0000
committerChristian Grothoff <christian@grothoff.org>2012-10-09 13:51:15 +0000
commite89947b5cb8281470ae865a3c83cd391468a136d (patch)
treea8a10419612d2c689131df4692925586a447ddf3 /src/pt
parentc600dd5877794bf4249ac69a218e2c0cb4ceb42a (diff)
downloadgnunet-e89947b5cb8281470ae865a3c83cd391468a136d.tar.gz
gnunet-e89947b5cb8281470ae865a3c83cd391468a136d.zip
-fix
Diffstat (limited to 'src/pt')
-rw-r--r--src/pt/test_gns_vpn.c9
-rw-r--r--src/pt/test_gns_vpn.conf3
2 files changed, 4 insertions, 8 deletions
diff --git a/src/pt/test_gns_vpn.c b/src/pt/test_gns_vpn.c
index debba18af..e67801298 100644
--- a/src/pt/test_gns_vpn.c
+++ b/src/pt/test_gns_vpn.c
@@ -267,6 +267,7 @@ static void
267disco_ns (void* cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 267disco_ns (void* cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
268{ 268{
269 GNUNET_NAMESTORE_disconnect (namestore); 269 GNUNET_NAMESTORE_disconnect (namestore);
270 namestore = NULL;
270} 271}
271 272
272 273
@@ -293,15 +294,11 @@ commence_testing (void *cls, int32_t success, const char *emsg)
293 "NS failed to create record %s\n", emsg); 294 "NS failed to create record %s\n", emsg);
294 GNUNET_SCHEDULER_shutdown (); 295 GNUNET_SCHEDULER_shutdown ();
295 return; 296 return;
296 } 297 }
297 298 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10), &start_curl, NULL);
298 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10), start_curl, NULL);
299
300} 299}
301 300
302 301
303
304
305/** 302/**
306 * Function to keep the HTTP server running. 303 * Function to keep the HTTP server running.
307 */ 304 */
diff --git a/src/pt/test_gns_vpn.conf b/src/pt/test_gns_vpn.conf
index 6c7a37736..fa12b98ba 100644
--- a/src/pt/test_gns_vpn.conf
+++ b/src/pt/test_gns_vpn.conf
@@ -1,6 +1,5 @@
1[PATHS] 1[PATHS]
2SERVICEHOME = /tmp/gnunet-test-vpn/ 2SERVICEHOME = /tmp/gnunet-test-gns-vpn/
3DEFAULTCONFIG = test_gnunet_vpn.conf
4 3
5[transport] 4[transport]
6PLUGINS = tcp 5PLUGINS = tcp