diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-02-27 07:20:56 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-02-27 07:20:56 +0100 |
commit | 7bbc40cd97c58cee753549b3ca0dffea8b8591c0 (patch) | |
tree | 9abea265503e7932fd634af0af6885f7e575b87e /src/peerstore/peerstore_api.c | |
parent | b6428a2092bf7e873174c7b3ffaebf6b8094aae4 (diff) | |
download | gnunet-7bbc40cd97c58cee753549b3ca0dffea8b8591c0.tar.gz gnunet-7bbc40cd97c58cee753549b3ca0dffea8b8591c0.zip |
do not forget to NULL reconnect_task
Diffstat (limited to 'src/peerstore/peerstore_api.c')
-rw-r--r-- | src/peerstore/peerstore_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | Copyright (C) 2013-2016 GNUnet e.V. | 3 | Copyright (C) 2013-2016, 2019 GNUnet e.V. |
4 | 4 | ||
5 | GNUnet is free software: you can redistribute it and/or modify it | 5 | GNUnet is free software: you can redistribute it and/or modify it |
6 | under the terms of the GNU Affero General Public License as published | 6 | under the terms of the GNU Affero General Public License as published |
@@ -844,6 +844,7 @@ reconnect (void *cls) | |||
844 | }; | 844 | }; |
845 | struct GNUNET_MQ_Envelope *ev; | 845 | struct GNUNET_MQ_Envelope *ev; |
846 | 846 | ||
847 | h->reconnect_task = NULL; | ||
847 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 848 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
848 | "Reconnecting...\n"); | 849 | "Reconnecting...\n"); |
849 | h->mq = GNUNET_CLIENT_connect (h->cfg, | 850 | h->mq = GNUNET_CLIENT_connect (h->cfg, |