aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/mesh_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/mesh/mesh_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/mesh/mesh_api.c')
-rw-r--r--src/mesh/mesh_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c
index c8d2162bc..4b6d6c4f9 100644
--- a/src/mesh/mesh_api.c
+++ b/src/mesh/mesh_api.c
@@ -675,7 +675,7 @@ do_reconnect (struct GNUNET_MESH_Handle *h)
675 } 675 }
676 if (NULL != h->client) 676 if (NULL != h->client)
677 { 677 {
678 GNUNET_CLIENT_disconnect (h->client, GNUNET_NO); 678 GNUNET_CLIENT_disconnect (h->client);
679 } 679 }
680 680
681 /* connect again */ 681 /* connect again */
@@ -1375,7 +1375,7 @@ GNUNET_MESH_disconnect (struct GNUNET_MESH_Handle *handle)
1375 } 1375 }
1376 if (NULL != handle->client) 1376 if (NULL != handle->client)
1377 { 1377 {
1378 GNUNET_CLIENT_disconnect (handle->client, GNUNET_NO); 1378 GNUNET_CLIENT_disconnect (handle->client);
1379 handle->client = NULL; 1379 handle->client = NULL;
1380 } 1380 }
1381 if (GNUNET_SCHEDULER_NO_TASK != handle->reconnect_task) 1381 if (GNUNET_SCHEDULER_NO_TASK != handle->reconnect_task)