aboutsummaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-05 15:56:14 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-05 15:56:14 +0100
commit8a32cac23d7289cfb7d1d356603a523cf6effd13 (patch)
treec9e43de959511665a4b127e90af60609171116db /src/fs
parent29be1a71b26bed8f6b0317cc4ad12195edd6569f (diff)
downloadgnunet-8a32cac23d7289cfb7d1d356603a523cf6effd13.tar.gz
gnunet-8a32cac23d7289cfb7d1d356603a523cf6effd13.zip
fix #4839
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/fs_download.c3
1 files changed, 1 insertions, 2 deletions
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)
378 struct GNUNET_FS_DownloadContext *pos; 378 struct GNUNET_FS_DownloadContext *pos;
379 379
380 /* first, check if we need to download children */ 380 /* first, check if we need to download children */
381 if ( (NULL == dc->child_head) && 381 if (is_recursive_download (dc))
382 (is_recursive_download (dc)) )
383 full_recursive_download (dc); 382 full_recursive_download (dc);
384 /* then, check if children are done already */ 383 /* then, check if children are done already */
385 for (pos = dc->child_head; NULL != pos; pos = pos->next) 384 for (pos = dc->child_head; NULL != pos; pos = pos->next)