diff options
Diffstat (limited to 'src/ats/ats_api_performance.c')
-rw-r--r-- | src/ats/ats_api_performance.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ats/ats_api_performance.c b/src/ats/ats_api_performance.c index b1c48bdde..6d5992033 100644 --- a/src/ats/ats_api_performance.c +++ b/src/ats/ats_api_performance.c | |||
@@ -221,7 +221,7 @@ struct GNUNET_ATS_PerformanceHandle | |||
221 | /** | 221 | /** |
222 | * Task to trigger reconnect. | 222 | * Task to trigger reconnect. |
223 | */ | 223 | */ |
224 | GNUNET_SCHEDULER_TaskIdentifier task; | 224 | struct GNUNET_SCHEDULER_Task * task; |
225 | 225 | ||
226 | /** | 226 | /** |
227 | * Monitor request multiplexing | 227 | * Monitor request multiplexing |
@@ -255,7 +255,7 @@ reconnect_task (void *cls, | |||
255 | { | 255 | { |
256 | struct GNUNET_ATS_PerformanceHandle *ph = cls; | 256 | struct GNUNET_ATS_PerformanceHandle *ph = cls; |
257 | 257 | ||
258 | ph->task = GNUNET_SCHEDULER_NO_TASK; | 258 | ph->task = NULL; |
259 | reconnect (ph); | 259 | reconnect (ph); |
260 | } | 260 | } |
261 | 261 | ||
@@ -740,10 +740,10 @@ GNUNET_ATS_performance_done (struct GNUNET_ATS_PerformanceHandle *ph) | |||
740 | GNUNET_free (rc); | 740 | GNUNET_free (rc); |
741 | } | 741 | } |
742 | 742 | ||
743 | if (GNUNET_SCHEDULER_NO_TASK != ph->task) | 743 | if (NULL != ph->task) |
744 | { | 744 | { |
745 | GNUNET_SCHEDULER_cancel (ph->task); | 745 | GNUNET_SCHEDULER_cancel (ph->task); |
746 | ph->task = GNUNET_SCHEDULER_NO_TASK; | 746 | ph->task = NULL; |
747 | } | 747 | } |
748 | if (NULL != ph->client) | 748 | if (NULL != ph->client) |
749 | { | 749 | { |