diff options
Diffstat (limited to 'src/transport/test_transport_api_manipulation_send_tcp.c')
-rw-r--r-- | src/transport/test_transport_api_manipulation_send_tcp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/transport/test_transport_api_manipulation_send_tcp.c b/src/transport/test_transport_api_manipulation_send_tcp.c index 22b420c27..e031b7111 100644 --- a/src/transport/test_transport_api_manipulation_send_tcp.c +++ b/src/transport/test_transport_api_manipulation_send_tcp.c | |||
@@ -288,12 +288,8 @@ sendtask (void *cls) | |||
288 | { | 288 | { |
289 | struct GNUNET_TIME_Relative delay; | 289 | struct GNUNET_TIME_Relative delay; |
290 | struct GNUNET_ATS_Properties prop; | 290 | struct GNUNET_ATS_Properties prop; |
291 | const struct GNUNET_SCHEDULER_TaskContext *tc; | ||
292 | 291 | ||
293 | send_task = NULL; | 292 | send_task = NULL; |
294 | tc = GNUNET_SCHEDULER_get_task_context (); | ||
295 | if ((tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN) != 0) | ||
296 | return; | ||
297 | char *receiver_s = GNUNET_strdup (GNUNET_i2s (&p1->id)); | 293 | char *receiver_s = GNUNET_strdup (GNUNET_i2s (&p1->id)); |
298 | 294 | ||
299 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 295 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |