From 9510456139e319cadef5c8f2b5279c9bc31c5f5c Mon Sep 17 00:00:00 2001 From: lurchi Date: Sun, 7 Jan 2018 00:57:24 +0100 Subject: [PATCH] reconnect_task pointer must be NULLed when executed --- src/psycstore/psycstore_api.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/psycstore/psycstore_api.c b/src/psycstore/psycstore_api.c index 16f4a1ae9..5a4865dce 100644 --- a/src/psycstore/psycstore_api.c +++ b/src/psycstore/psycstore_api.c @@ -362,6 +362,9 @@ do_connect (struct GNUNET_PSYCSTORE_Handle *h) static void reconnect (void *cls) { + struct GNUNET_PSYCSTORE_Handle *h = cls; + + h->reconnect_task = NULL; do_connect (cls); } -- 2.25.1