From: lurchi Date: Sat, 6 Jan 2018 23:57:24 +0000 (+0100) Subject: reconnect_task pointer must be NULLed when executed X-Git-Tag: gnunet-0.11.0rc0~2^2~18 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9510456139e319cadef5c8f2b5279c9bc31c5f5c;p=oweals%2Fgnunet.git reconnect_task pointer must be NULLed when executed --- 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); }