aboutsummaryrefslogtreecommitdiff
path: root/src/vpn/vpn_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-04-19 08:53:46 +0000
committerChristian Grothoff <christian@grothoff.org>2012-04-19 08:53:46 +0000
commitccc7218f3d2008d4e7ec5e222ba6b6451ec677ba (patch)
tree50664649cca13e5462dadea8c9bcde81c59e07ef /src/vpn/vpn_api.c
parent75297c57a857d0c7c1428bed00e32ed2c8b5389d (diff)
downloadgnunet-ccc7218f3d2008d4e7ec5e222ba6b6451ec677ba.tar.gz
gnunet-ccc7218f3d2008d4e7ec5e222ba6b6451ec677ba.zip
-removing 2nd argument from GNUNET_CLIENT_disconnect as it was virtually always GNUNET_NO --- and all other uses indicate design problems
Diffstat (limited to 'src/vpn/vpn_api.c')
-rw-r--r--src/vpn/vpn_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vpn/vpn_api.c b/src/vpn/vpn_api.c
index 31d17f8c9..5b70d19df 100644
--- a/src/vpn/vpn_api.c
+++ b/src/vpn/vpn_api.c
@@ -402,7 +402,7 @@ reconnect (struct GNUNET_VPN_Handle *vh)
402 GNUNET_CLIENT_notify_transmit_ready_cancel (vh->th); 402 GNUNET_CLIENT_notify_transmit_ready_cancel (vh->th);
403 vh->th = NULL; 403 vh->th = NULL;
404 } 404 }
405 GNUNET_CLIENT_disconnect (vh->client, GNUNET_NO); 405 GNUNET_CLIENT_disconnect (vh->client);
406 vh->client = NULL; 406 vh->client = NULL;
407 vh->request_id_gen = 0; 407 vh->request_id_gen = 0;
408 for (rr = vh->rr_head; NULL != rr; rr = rr->next) 408 for (rr = vh->rr_head; NULL != rr; rr = rr->next)
@@ -591,7 +591,7 @@ GNUNET_VPN_disconnect (struct GNUNET_VPN_Handle *vh)
591 } 591 }
592 if (NULL != vh->client) 592 if (NULL != vh->client)
593 { 593 {
594 GNUNET_CLIENT_disconnect (vh->client, GNUNET_NO); 594 GNUNET_CLIENT_disconnect (vh->client);
595 vh->client = NULL; 595 vh->client = NULL;
596 } 596 }
597 if (GNUNET_SCHEDULER_NO_TASK != vh->rt) 597 if (GNUNET_SCHEDULER_NO_TASK != vh->rt)