aboutsummaryrefslogtreecommitdiff
path: root/src/ats/ats_api_performance.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats/ats_api_performance.c')
-rw-r--r--src/ats/ats_api_performance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ats/ats_api_performance.c b/src/ats/ats_api_performance.c
index bf270c05c..a0fae522d 100644
--- a/src/ats/ats_api_performance.c
+++ b/src/ats/ats_api_performance.c
@@ -395,12 +395,12 @@ process_ats_message (void *cls, const struct GNUNET_MessageHeader *msg)
395 GNUNET_TIME_UNIT_FOREVER_REL); 395 GNUNET_TIME_UNIT_FOREVER_REL);
396 return; 396 return;
397reconnect: 397reconnect:
398 GNUNET_CLIENT_disconnect (ph->client);
399 if (NULL != ph->th) 398 if (NULL != ph->th)
400 { 399 {
401 GNUNET_CLIENT_notify_transmit_ready_cancel (ph->th); 400 GNUNET_CLIENT_notify_transmit_ready_cancel (ph->th);
402 ph->th = NULL; 401 ph->th = NULL;
403 } 402 }
403 GNUNET_CLIENT_disconnect (ph->client);
404 ph->client = NULL; 404 ph->client = NULL;
405 ph->task = 405 ph->task =
406 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS, &reconnect_task, 406 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS, &reconnect_task,