aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_manipulation_send_tcp.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-04-30 08:17:37 +0000
committerChristian Grothoff <christian@grothoff.org>2016-04-30 08:17:37 +0000
commit95f9076a2139f5fb042b944a0658b6cda2fa35db (patch)
treeb0826a2a1dcf812e6b4450fe6b05d47cd53ae49d /src/transport/test_transport_api_manipulation_send_tcp.c
parent7746f68db77b9ca3c4aaca24ab2ce5253461240b (diff)
downloadgnunet-95f9076a2139f5fb042b944a0658b6cda2fa35db.tar.gz
gnunet-95f9076a2139f5fb042b944a0658b6cda2fa35db.zip
implementing new scheduler shutdown semantics
Diffstat (limited to 'src/transport/test_transport_api_manipulation_send_tcp.c')
-rw-r--r--src/transport/test_transport_api_manipulation_send_tcp.c4
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,