aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_dirmetascan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/fs_dirmetascan.c')
-rw-r--r--src/fs/fs_dirmetascan.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/fs/fs_dirmetascan.c b/src/fs/fs_dirmetascan.c
index 4c995a72a..dc1cb1647 100644
--- a/src/fs/fs_dirmetascan.c
+++ b/src/fs/fs_dirmetascan.c
@@ -604,10 +604,12 @@ read_progress_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
604 } 604 }
605 /* schedule task to keep reading (done here in case client calls 605 /* schedule task to keep reading (done here in case client calls
606 abort or something similar) */ 606 abort or something similar) */
607 ds->progress_read_task 607 if ( (reason != GNUNET_FS_DIRSCANNER_EXTRACT_FINISHED) &&
608 = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, 608 (reason != GNUNET_FS_DIRSCANNER_INTERNAL_ERROR) )
609 ds->progress_read, 609 ds->progress_read_task
610 &read_progress_task, ds); 610 = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL,
611 ds->progress_read,
612 &read_progress_task, ds);
611 613
612 /* read successfully, notify client about progress */ 614 /* read successfully, notify client about progress */
613 ds->progress_callback (ds->progress_callback_cls, 615 ds->progress_callback (ds->progress_callback_cls,