diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2020-11-18 05:46:55 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2020-11-18 05:46:55 +0900 |
commit | 52968789d280ee066e4527d6b191691625bd993a (patch) | |
tree | cf72db2f97e3dfcf859321cccb0f37c547008223 /src/reclaim | |
parent | 91e8c2ff26ab0f65bbfec3de0b4acbaa95e52a47 (diff) | |
download | gnunet-52968789d280ee066e4527d6b191691625bd993a.tar.gz gnunet-52968789d280ee066e4527d6b191691625bd993a.zip |
- do not cleanup client twice
Diffstat (limited to 'src/reclaim')
-rw-r--r-- | src/reclaim/gnunet-service-reclaim.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/reclaim/gnunet-service-reclaim.c b/src/reclaim/gnunet-service-reclaim.c index 0774fecea..5614f05db 100644 --- a/src/reclaim/gnunet-service-reclaim.c +++ b/src/reclaim/gnunet-service-reclaim.c | |||
@@ -602,17 +602,8 @@ cleanup_client (struct IdpClient *idp) | |||
602 | static void | 602 | static void |
603 | cleanup () | 603 | cleanup () |
604 | { | 604 | { |
605 | struct IdpClient *cl; | ||
606 | |||
607 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Cleaning up\n"); | 605 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Cleaning up\n"); |
608 | 606 | ||
609 | while (NULL != (cl = client_list_head)) | ||
610 | { | ||
611 | GNUNET_CONTAINER_DLL_remove (client_list_head, | ||
612 | client_list_tail, | ||
613 | cl); | ||
614 | cleanup_client (cl); | ||
615 | } | ||
616 | RECLAIM_TICKETS_deinit (); | 607 | RECLAIM_TICKETS_deinit (); |
617 | if (NULL != timeout_task) | 608 | if (NULL != timeout_task) |
618 | GNUNET_SCHEDULER_cancel (timeout_task); | 609 | GNUNET_SCHEDULER_cancel (timeout_task); |