diff options
Diffstat (limited to 'src/transport/transport_api_address_lookup.c')
-rw-r--r-- | src/transport/transport_api_address_lookup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/transport_api_address_lookup.c b/src/transport/transport_api_address_lookup.c index 797b95f07..655be833f 100644 --- a/src/transport/transport_api_address_lookup.c +++ b/src/transport/transport_api_address_lookup.c | |||
@@ -155,7 +155,7 @@ static void | |||
155 | reconnect (struct GNUNET_TRANSPORT_PeerIterateContext *pal_ctx) | 155 | reconnect (struct GNUNET_TRANSPORT_PeerIterateContext *pal_ctx) |
156 | { | 156 | { |
157 | GNUNET_assert (GNUNET_NO == pal_ctx->one_shot); | 157 | GNUNET_assert (GNUNET_NO == pal_ctx->one_shot); |
158 | GNUNET_CLIENT_disconnect (pal_ctx->client, GNUNET_NO); | 158 | GNUNET_CLIENT_disconnect (pal_ctx->client); |
159 | pal_ctx->client = NULL; | 159 | pal_ctx->client = NULL; |
160 | pal_ctx->backoff = GNUNET_TIME_relative_max (GNUNET_TIME_UNIT_MILLISECONDS, | 160 | pal_ctx->backoff = GNUNET_TIME_relative_max (GNUNET_TIME_UNIT_MILLISECONDS, |
161 | GNUNET_TIME_relative_min (GNUNET_TIME_relative_multiply (pal_ctx->backoff, 2), | 161 | GNUNET_TIME_relative_min (GNUNET_TIME_relative_multiply (pal_ctx->backoff, 2), |
@@ -354,7 +354,7 @@ GNUNET_TRANSPORT_peer_get_active_addresses_cancel (struct | |||
354 | { | 354 | { |
355 | if (NULL != alc->client) | 355 | if (NULL != alc->client) |
356 | { | 356 | { |
357 | GNUNET_CLIENT_disconnect (alc->client, GNUNET_NO); | 357 | GNUNET_CLIENT_disconnect (alc->client); |
358 | alc->client = NULL; | 358 | alc->client = NULL; |
359 | } | 359 | } |
360 | if (GNUNET_SCHEDULER_NO_TASK != alc->reconnect_task) | 360 | if (GNUNET_SCHEDULER_NO_TASK != alc->reconnect_task) |