]> wimlib.net Git - wimlib/blobdiff - src/capture_common.c
win32_apply.c: Use volume handle when enabling short names
[wimlib] / src / capture_common.c
index be7c8983d0f443a3d48f954f72ded06f2a8b3d1b..def3a13fe93501e60af9898eeac7cd5f5463f96c 100644 (file)
@@ -44,8 +44,7 @@
  *     Flags, optional progress function, and progress data for the capture
  *     operation.
  * @status
- *     Status of the scanned file (ok, unsupported, excluded, or excluded
- *     symlink).
+ *     Status of the scanned file.
  * @inode
  *     If @status is WIMLIB_SCAN_DENTRY_OK, this is a pointer to the WIM inode
  *     that has been created for the scanned file.  The first time the file is
@@ -60,12 +59,14 @@ do_capture_progress(struct add_image_params *params, int status,
        case WIMLIB_SCAN_DENTRY_OK:
                if (!(params->add_flags & WIMLIB_ADD_FLAG_VERBOSE))
                        return 0;
+               break;
        case WIMLIB_SCAN_DENTRY_UNSUPPORTED:
        case WIMLIB_SCAN_DENTRY_EXCLUDED:
-       case WIMLIB_SCAN_DENTRY_EXCLUDED_SYMLINK:
        case WIMLIB_SCAN_DENTRY_FIXED_SYMLINK:
+       case WIMLIB_SCAN_DENTRY_NOT_FIXED_SYMLINK:
                if (!(params->add_flags & WIMLIB_ADD_FLAG_EXCLUDE_VERBOSE))
                        return 0;
+               break;
        }
        params->progress.scan.status = status;
        if (status == WIMLIB_SCAN_DENTRY_OK && inode->i_nlink == 1) {