aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-02-27 07:20:56 +0100
committerChristian Grothoff <christian@grothoff.org>2019-02-27 07:20:56 +0100
commit7bbc40cd97c58cee753549b3ca0dffea8b8591c0 (patch)
tree9abea265503e7932fd634af0af6885f7e575b87e
parentb6428a2092bf7e873174c7b3ffaebf6b8094aae4 (diff)
downloadgnunet-7bbc40cd97c58cee753549b3ca0dffea8b8591c0.tar.gz
gnunet-7bbc40cd97c58cee753549b3ca0dffea8b8591c0.zip
do not forget to NULL reconnect_task
-rw-r--r--src/peerstore/peerstore_api.c3
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,