From: Christian Grothoff Date: Wed, 27 Feb 2019 06:20:56 +0000 (+0100) Subject: do not forget to NULL reconnect_task X-Git-Tag: v0.11.0~7 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7bbc40cd97c58cee753549b3ca0dffea8b8591c0;p=oweals%2Fgnunet.git do not forget to NULL reconnect_task --- 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,