diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-10-09 13:51:15 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-10-09 13:51:15 +0000 |
commit | e89947b5cb8281470ae865a3c83cd391468a136d (patch) | |
tree | a8a10419612d2c689131df4692925586a447ddf3 /src/pt | |
parent | c600dd5877794bf4249ac69a218e2c0cb4ceb42a (diff) | |
download | gnunet-e89947b5cb8281470ae865a3c83cd391468a136d.tar.gz gnunet-e89947b5cb8281470ae865a3c83cd391468a136d.zip |
-fix
Diffstat (limited to 'src/pt')
-rw-r--r-- | src/pt/test_gns_vpn.c | 9 | ||||
-rw-r--r-- | src/pt/test_gns_vpn.conf | 3 |
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 | |||
267 | disco_ns (void* cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 267 | disco_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] |
2 | SERVICEHOME = /tmp/gnunet-test-vpn/ | 2 | SERVICEHOME = /tmp/gnunet-test-gns-vpn/ |
3 | DEFAULTCONFIG = test_gnunet_vpn.conf | ||
4 | 3 | ||
5 | [transport] | 4 | [transport] |
6 | PLUGINS = tcp | 5 | PLUGINS = tcp |