diff options
Diffstat (limited to 'src/gns/gnunet-service-gns_shorten.c')
-rw-r--r-- | src/gns/gnunet-service-gns_shorten.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gns/gnunet-service-gns_shorten.c b/src/gns/gnunet-service-gns_shorten.c index 34dcd42f6..f744c3d6f 100644 --- a/src/gns/gnunet-service-gns_shorten.c +++ b/src/gns/gnunet-service-gns_shorten.c | |||
@@ -106,7 +106,7 @@ struct GetPseuAuthorityHandle | |||
106 | /** | 106 | /** |
107 | * Task to abort DHT lookup operation. | 107 | * Task to abort DHT lookup operation. |
108 | */ | 108 | */ |
109 | GNUNET_SCHEDULER_TaskIdentifier timeout_task; | 109 | struct GNUNET_SCHEDULER_Task * timeout_task; |
110 | 110 | ||
111 | }; | 111 | }; |
112 | 112 | ||
@@ -160,10 +160,10 @@ free_get_pseu_authority_handle (struct GetPseuAuthorityHandle *gph) | |||
160 | GNUNET_NAMECACHE_cancel (gph->namecache_task); | 160 | GNUNET_NAMECACHE_cancel (gph->namecache_task); |
161 | gph->namecache_task = NULL; | 161 | gph->namecache_task = NULL; |
162 | } | 162 | } |
163 | if (GNUNET_SCHEDULER_NO_TASK != gph->timeout_task) | 163 | if (NULL != gph->timeout_task) |
164 | { | 164 | { |
165 | GNUNET_SCHEDULER_cancel (gph->timeout_task); | 165 | GNUNET_SCHEDULER_cancel (gph->timeout_task); |
166 | gph->timeout_task = GNUNET_SCHEDULER_NO_TASK; | 166 | gph->timeout_task = NULL; |
167 | } | 167 | } |
168 | GNUNET_CONTAINER_DLL_remove (gph_head, gph_tail, gph); | 168 | GNUNET_CONTAINER_DLL_remove (gph_head, gph_tail, gph); |
169 | GNUNET_free_non_null (gph->current_label); | 169 | GNUNET_free_non_null (gph->current_label); |