aboutsummaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/plugin_transport_tcp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c
index 96c87bf95..8bd919880 100644
--- a/src/transport/plugin_transport_tcp.c
+++ b/src/transport/plugin_transport_tcp.c
@@ -924,8 +924,7 @@ tcp_plugin_disconnect_session (void *cls,
924 if (NULL != session->receive_delay_task) 924 if (NULL != session->receive_delay_task)
925 { 925 {
926 GNUNET_SCHEDULER_cancel (session->receive_delay_task); 926 GNUNET_SCHEDULER_cancel (session->receive_delay_task);
927 if (NULL != session->client) 927 session->receive_delay_task = NULL;
928 GNUNET_SERVER_receive_done (session->client, GNUNET_SYSERR);
929 } 928 }
930 if (NULL != session->client) 929 if (NULL != session->client)
931 { 930 {