fix #4839
authorChristian Grothoff <christian@grothoff.org>
Sun, 5 Mar 2017 14:56:14 +0000 (15:56 +0100)
committerChristian Grothoff <christian@grothoff.org>
Sun, 5 Mar 2017 14:56:14 +0000 (15:56 +0100)
src/fs/fs_download.c

index ed24a164a0fea8b3bd001badfa3c10f3f138adba..ce852f2d0bba1922f18b5153af5214ab95b71e22 100644 (file)
@@ -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)