From 9bbe1dc9c3dfa9de90759e540d715de6547e43cd Mon Sep 17 00:00:00 2001 From: David Barksdale Date: Tue, 11 Aug 2015 15:51:08 +0000 Subject: [PATCH] This probably fixes #3944 --- src/cadet/gnunet-service-cadet_tunnel.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c index 33d6d1a48..18d2f603d 100644 --- a/src/cadet/gnunet-service-cadet_tunnel.c +++ b/src/cadet/gnunet-service-cadet_tunnel.c @@ -2909,8 +2909,10 @@ handle_kx_ax (struct CadetTunnel *t, const struct GNUNET_CADET_AX_KX *msg) if (0 != (GNUNET_CADET_AX_KX_FLAG_FORCE_REPLY & ntohl (msg->flags))) { - if (NULL != t->rekey_task) + if (NULL != t->rekey_task) { GNUNET_SCHEDULER_cancel (t->rekey_task); + t->rekey_task = NULL; + } GCT_send_ax_kx (t, GNUNET_NO); } -- 2.25.1