diff options
author | lurchi <lurchi@strangeplace.net> | 2018-01-07 00:57:24 +0100 |
---|---|---|
committer | lurchi <lurchi@strangeplace.net> | 2018-01-07 00:57:24 +0100 |
commit | 9510456139e319cadef5c8f2b5279c9bc31c5f5c (patch) | |
tree | fc86c7eedab138d2291b3e0db542c6e6a264aded /src/psycstore/psycstore_api.c | |
parent | 2df817deaf2bc73713a9a6e588cbd298170e847b (diff) |
reconnect_task pointer must be NULLed when executed
Diffstat (limited to 'src/psycstore/psycstore_api.c')
-rw-r--r-- | src/psycstore/psycstore_api.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/psycstore/psycstore_api.c b/src/psycstore/psycstore_api.c index 16f4a1ae98..5a4865dcef 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); } |