From 7bbc40cd97c58cee753549b3ca0dffea8b8591c0 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 27 Feb 2019 07:20:56 +0100 Subject: [PATCH] do not forget to NULL reconnect_task --- src/peerstore/peerstore_api.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/peerstore/peerstore_api.c b/src/peerstore/peerstore_api.c index 243e26c8b..02f3e287a 100644 --- a/src/peerstore/peerstore_api.c +++ b/src/peerstore/peerstore_api.c @@ -1,6 +1,6 @@ /* This file is part of GNUnet. - Copyright (C) 2013-2016 GNUnet e.V. + Copyright (C) 2013-2016, 2019 GNUnet e.V. GNUnet is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published @@ -844,6 +844,7 @@ reconnect (void *cls) }; struct GNUNET_MQ_Envelope *ev; + h->reconnect_task = NULL; LOG (GNUNET_ERROR_TYPE_DEBUG, "Reconnecting...\n"); h->mq = GNUNET_CLIENT_connect (h->cfg, -- 2.25.1