diff options
Diffstat (limited to 'src/mesh/mesh_api.c')
-rw-r--r-- | src/mesh/mesh_api.c | 4 |
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) |