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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ats/ats_api_performance.c b/src/ats/ats_api_performance.c
index 848c7ec4d..c98e1c243 100644
--- a/src/ats/ats_api_performance.c
+++ b/src/ats/ats_api_performance.c
@@ -395,7 +395,7 @@ 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, GNUNET_NO); 398 GNUNET_CLIENT_disconnect (ph->client);
399 ph->client = NULL; 399 ph->client = NULL;
400 ph->task = 400 ph->task =
401 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS, &reconnect_task, 401 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS, &reconnect_task,
@@ -493,7 +493,7 @@ GNUNET_ATS_performance_done (struct GNUNET_ATS_PerformanceHandle *ph)
493 } 493 }
494 if (NULL != ph->client) 494 if (NULL != ph->client)
495 { 495 {
496 GNUNET_CLIENT_disconnect (ph->client, GNUNET_NO); 496 GNUNET_CLIENT_disconnect (ph->client);
497 ph->client = NULL; 497 ph->client = NULL;
498 } 498 }
499 GNUNET_free (ph); 499 GNUNET_free (ph);