diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ats/ats_api_performance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ats/ats_api_performance.c b/src/ats/ats_api_performance.c index ae83edcc7..af977cb66 100644 --- a/src/ats/ats_api_performance.c +++ b/src/ats/ats_api_performance.c | |||
@@ -516,7 +516,7 @@ GNUNET_ATS_performance_done (struct GNUNET_ATS_PerformanceHandle *ph) | |||
516 | GNUNET_SCHEDULER_cancel (ph->task); | 516 | GNUNET_SCHEDULER_cancel (ph->task); |
517 | ph->task = GNUNET_SCHEDULER_NO_TASK; | 517 | ph->task = GNUNET_SCHEDULER_NO_TASK; |
518 | } | 518 | } |
519 | if (NULL != client) | 519 | if (NULL != ph->client) |
520 | { | 520 | { |
521 | GNUNET_CLIENT_disconnect (ph->client, GNUNET_NO); | 521 | GNUNET_CLIENT_disconnect (ph->client, GNUNET_NO); |
522 | ph->client = NULL; | 522 | ph->client = NULL; |