diff options
Diffstat (limited to 'src/transport/test_transport_api_manipulation_recv_tcp.c')
-rw-r--r-- | src/transport/test_transport_api_manipulation_recv_tcp.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/transport/test_transport_api_manipulation_recv_tcp.c b/src/transport/test_transport_api_manipulation_recv_tcp.c index 7b82236f9..02c9408a6 100644 --- a/src/transport/test_transport_api_manipulation_recv_tcp.c +++ b/src/transport/test_transport_api_manipulation_recv_tcp.c | |||
@@ -292,12 +292,7 @@ notify_ready (void *cls, size_t size, void *buf) | |||
292 | static void | 292 | static void |
293 | sendtask (void *cls) | 293 | sendtask (void *cls) |
294 | { | 294 | { |
295 | const struct GNUNET_SCHEDULER_TaskContext *tc; | ||
296 | |||
297 | send_task = NULL; | 295 | send_task = NULL; |
298 | tc = GNUNET_SCHEDULER_get_task_context (); | ||
299 | if ((tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN) != 0) | ||
300 | return; | ||
301 | char *receiver_s = GNUNET_strdup (GNUNET_i2s (&p1->id)); | 296 | char *receiver_s = GNUNET_strdup (GNUNET_i2s (&p1->id)); |
302 | 297 | ||
303 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 298 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |