summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_manipulation.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2014-03-24 10:22:07 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2014-03-24 10:22:07 +0000
commitad10090b45f61b52ed90775cd912400503647675 (patch)
tree82a7884732c2f88152cbd897ae88e6469a5d7a3a /src/transport/gnunet-service-transport_manipulation.c
parent01312017a24aedf8829d0ee957bb5ceb0ab2c57a (diff)
task was not marked as canceled when canceled
fixing mantis #0003345
Diffstat (limited to 'src/transport/gnunet-service-transport_manipulation.c')
-rw-r--r--src/transport/gnunet-service-transport_manipulation.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport_manipulation.c b/src/transport/gnunet-service-transport_manipulation.c
index bb90e1892..bfd2594a8 100644
--- a/src/transport/gnunet-service-transport_manipulation.c
+++ b/src/transport/gnunet-service-transport_manipulation.c
@@ -696,6 +696,7 @@ GST_manipulation_peer_disconnect(const struct GNUNET_PeerIdentity *peer)
if (GNUNET_SCHEDULER_NO_TASK != generic_send_delay_task)
{
GNUNET_SCHEDULER_cancel(generic_send_delay_task);
+ generic_send_delay_task = GNUNET_SCHEDULER_NO_TASK;
if (NULL != generic_dqe_head)
generic_send_delay_task = GNUNET_SCHEDULER_add_delayed(
GNUNET_TIME_absolute_get_remaining(generic_dqe_head->sent_at),