diff options
author | Philipp Tölke <toelke@in.tum.de> | 2010-10-07 08:22:06 +0000 |
---|---|---|
committer | Philipp Tölke <toelke@in.tum.de> | 2010-10-07 08:22:06 +0000 |
commit | e8f4800fa8f9bc85d741831295462a3b35cc68ae (patch) | |
tree | cfedbcf56f423d9807e57dd5c7bbc8ebeac80243 /src | |
parent | b37abd79cafa9ef6221e4d86ba426ed94b037281 (diff) | |
download | gnunet-e8f4800fa8f9bc85d741831295462a3b35cc68ae.tar.gz gnunet-e8f4800fa8f9bc85d741831295462a3b35cc68ae.zip |
fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/vpn/gnunet-daemon-vpn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vpn/gnunet-daemon-vpn.c b/src/vpn/gnunet-daemon-vpn.c index dbce0a86a..534737ce8 100644 --- a/src/vpn/gnunet-daemon-vpn.c +++ b/src/vpn/gnunet-daemon-vpn.c | |||
@@ -73,7 +73,7 @@ static void cleanup(void* cls, const struct GNUNET_SCHEDULER_TaskContext* tskctx | |||
73 | GNUNET_OS_process_wait(mycls.helper_pid); | 73 | GNUNET_OS_process_wait(mycls.helper_pid); |
74 | if (mycls.dns_connection != NULL) | 74 | if (mycls.dns_connection != NULL) |
75 | { | 75 | { |
76 | GNUNET_CLIENT_disconnect (mycls.dns_connection); | 76 | GNUNET_CLIENT_disconnect (mycls.dns_connection, GNUNET_NO); |
77 | mycls.dns_connection = NULL; | 77 | mycls.dns_connection = NULL; |
78 | } | 78 | } |
79 | } | 79 | } |
@@ -266,7 +266,7 @@ dns_answer_handler(void* cls, const struct GNUNET_MessageHeader *msg); | |||
266 | static void | 266 | static void |
267 | reconnect_to_service_dns (void *cls, | 267 | reconnect_to_service_dns (void *cls, |
268 | const struct GNUNET_SCHEDULER_TaskContext *tc) { | 268 | const struct GNUNET_SCHEDULER_TaskContext *tc) { |
269 | if (0 != (tskctx->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)) | 269 | if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)) |
270 | return; | 270 | return; |
271 | GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Connecting\n"); | 271 | GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Connecting\n"); |
272 | GNUNET_assert (mycls.dns_connection == NULL); | 272 | GNUNET_assert (mycls.dns_connection == NULL); |