From 8a32cac23d7289cfb7d1d356603a523cf6effd13 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 5 Mar 2017 15:56:14 +0100 Subject: fix #4839 --- src/fs/fs_download.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/fs') diff --git a/src/fs/fs_download.c b/src/fs/fs_download.c index ed24a164a..ce852f2d0 100644 --- a/src/fs/fs_download.c +++ b/src/fs/fs_download.c @@ -378,8 +378,7 @@ check_completed (struct GNUNET_FS_DownloadContext *dc) struct GNUNET_FS_DownloadContext *pos; /* first, check if we need to download children */ - if ( (NULL == dc->child_head) && - (is_recursive_download (dc)) ) + if (is_recursive_download (dc)) full_recursive_download (dc); /* then, check if children are done already */ for (pos = dc->child_head; NULL != pos; pos = pos->next) -- cgit v1.2.3