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 | |
parent | 2df817deaf2bc73713a9a6e588cbd298170e847b (diff) | |
download | gnunet-9510456139e319cadef5c8f2b5279c9bc31c5f5c.tar.gz gnunet-9510456139e319cadef5c8f2b5279c9bc31c5f5c.zip |
reconnect_task pointer must be NULLed when executed
Diffstat (limited to 'src/psycstore')
-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 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) | |||
362 | static void | 362 | static void |
363 | reconnect (void *cls) | 363 | reconnect (void *cls) |
364 | { | 364 | { |
365 | struct GNUNET_PSYCSTORE_Handle *h = cls; | ||
366 | |||
367 | h->reconnect_task = NULL; | ||
365 | do_connect (cls); | 368 | do_connect (cls); |
366 | } | 369 | } |
367 | 370 | ||