aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_dirmetascan.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-01-29 11:48:40 +0000
committerChristian Grothoff <christian@grothoff.org>2012-01-29 11:48:40 +0000
commit09cc5834ba81348ce8d97ed6889204ad8d45150e (patch)
tree7b60c361806c2fa1765f43b83751b41f49fc3c6f /src/fs/fs_dirmetascan.c
parent9d6faa36f9093f18b503309da87f22d734551b1c (diff)
downloadgnunet-09cc5834ba81348ce8d97ed6889204ad8d45150e.tar.gz
gnunet-09cc5834ba81348ce8d97ed6889204ad8d45150e.zip
-fix
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,