diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-04-30 08:17:37 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-04-30 08:17:37 +0000 |
commit | 95f9076a2139f5fb042b944a0658b6cda2fa35db (patch) | |
tree | b0826a2a1dcf812e6b4450fe6b05d47cd53ae49d /src/transport/test_transport_api_restart_1peer.c | |
parent | 7746f68db77b9ca3c4aaca24ab2ce5253461240b (diff) | |
download | gnunet-95f9076a2139f5fb042b944a0658b6cda2fa35db.tar.gz gnunet-95f9076a2139f5fb042b944a0658b6cda2fa35db.zip |
implementing new scheduler shutdown semantics
Diffstat (limited to 'src/transport/test_transport_api_restart_1peer.c')
-rw-r--r-- | src/transport/test_transport_api_restart_1peer.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/transport/test_transport_api_restart_1peer.c b/src/transport/test_transport_api_restart_1peer.c index adec15f4f..50f9ebb9c 100644 --- a/src/transport/test_transport_api_restart_1peer.c +++ b/src/transport/test_transport_api_restart_1peer.c | |||
@@ -260,12 +260,7 @@ notify_ready (void *cls, size_t size, void *buf) | |||
260 | static void | 260 | static void |
261 | sendtask (void *cls) | 261 | sendtask (void *cls) |
262 | { | 262 | { |
263 | const struct GNUNET_SCHEDULER_TaskContext *tc; | ||
264 | |||
265 | send_task = NULL; | 263 | send_task = NULL; |
266 | tc = GNUNET_SCHEDULER_get_task_context (); | ||
267 | if ((tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN) != 0) | ||
268 | return; | ||
269 | char *receiver_s = GNUNET_strdup (GNUNET_i2s (&p1->id)); | 264 | char *receiver_s = GNUNET_strdup (GNUNET_i2s (&p1->id)); |
270 | 265 | ||
271 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 266 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |