aboutsummaryrefslogtreecommitdiff
path: root/src/core/core_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/core/core_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/core/core_api.c')
-rw-r--r--src/core/core_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/core_api.c b/src/core/core_api.c
index 69dcfecf8..1a4b23333 100644
--- a/src/core/core_api.c
+++ b/src/core/core_api.c
@@ -448,7 +448,7 @@ reconnect_later (struct GNUNET_CORE_Handle *h)
448 } 448 }
449 if (h->client != NULL) 449 if (h->client != NULL)
450 { 450 {
451 GNUNET_CLIENT_disconnect (h->client, GNUNET_NO); 451 GNUNET_CLIENT_disconnect (h->client);
452 h->client = NULL; 452 h->client = NULL;
453 } 453 }
454 h->currently_down = GNUNET_YES; 454 h->currently_down = GNUNET_YES;
@@ -1243,7 +1243,7 @@ GNUNET_CORE_disconnect (struct GNUNET_CORE_Handle *handle)
1243 } 1243 }
1244 if (handle->client != NULL) 1244 if (handle->client != NULL)
1245 { 1245 {
1246 GNUNET_CLIENT_disconnect (handle->client, GNUNET_NO); 1246 GNUNET_CLIENT_disconnect (handle->client);
1247 handle->client = NULL; 1247 handle->client = NULL;
1248 } 1248 }
1249 GNUNET_CONTAINER_multihashmap_iterate (handle->peers, 1249 GNUNET_CONTAINER_multihashmap_iterate (handle->peers,