aboutsummaryrefslogtreecommitdiff
path: root/src/setup/gnunet-setup-transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/setup/gnunet-setup-transport.c')
-rw-r--r--src/setup/gnunet-setup-transport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/setup/gnunet-setup-transport.c b/src/setup/gnunet-setup-transport.c
index 9168683d..be7f8c7d 100644
--- a/src/setup/gnunet-setup-transport.c
+++ b/src/setup/gnunet-setup-transport.c
@@ -122,7 +122,7 @@ struct GNUNET_SetupAutoContext
122 /** 122 /**
123 * Task identifier for the timeout. 123 * Task identifier for the timeout.
124 */ 124 */
125 GNUNET_SCHEDULER_TaskIdentifier tsk; 125 struct GNUNET_SCHEDULER_Task * tsk;
126 126
127 /** 127 /**
128 * Where are we in the test? 128 * Where are we in the test?
@@ -175,7 +175,7 @@ result_callback (void *cls,
175 struct GNUNET_SetupAutoContext *ac = cls; 175 struct GNUNET_SetupAutoContext *ac = cls;
176 176
177 GNUNET_SCHEDULER_cancel (ac->tsk); 177 GNUNET_SCHEDULER_cancel (ac->tsk);
178 ac->tsk = GNUNET_SCHEDULER_NO_TASK; 178 ac->tsk = NULL;
179 GNUNET_NAT_test_stop (ac->tst); 179 GNUNET_NAT_test_stop (ac->tst);
180 ac->tst = NULL; 180 ac->tst = NULL;
181 GNUNET_log (GNUNET_ERROR_TYPE_INFO, 181 GNUNET_log (GNUNET_ERROR_TYPE_INFO,