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/test_gns_vpn.c | |
parent | c600dd5877794bf4249ac69a218e2c0cb4ceb42a (diff) | |
download | gnunet-e89947b5cb8281470ae865a3c83cd391468a136d.tar.gz gnunet-e89947b5cb8281470ae865a3c83cd391468a136d.zip |
-fix
Diffstat (limited to 'src/pt/test_gns_vpn.c')
-rw-r--r-- | src/pt/test_gns_vpn.c | 9 |
1 files changed, 3 insertions, 6 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 | */ |