aboutsummaryrefslogtreecommitdiff
path: root/src/core/core_api.c
diff options
context:
space:
mode:
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,