-}
-
-
-/**
- * Stop the directory scanner (we had an error).
- *
- * @param cls closure
- * @param tc scheduler context
- */
-static void
-stop_scanner_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
-{
- kill_task = NULL;
- if (NULL != ds)
- {
- GNUNET_FS_directory_scan_abort (ds);
- ds = NULL;
- }
- if (NULL != identity)