From 45763ad15a0e3aae38fc7cb70be28a7edc57a9ba Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Mon, 17 Oct 2011 14:16:39 +0000 Subject: [PATCH] ugh --- src/ats/ats_api_performance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) GNUNET_SCHEDULER_cancel (ph->task); ph->task = GNUNET_SCHEDULER_NO_TASK; } - if (NULL != client) + if (NULL != ph->client) { GNUNET_CLIENT_disconnect (ph->client, GNUNET_NO); ph->client = NULL; -- 2.25.1