summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_default.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c
index 745b36c97c..55b6bc7bfc 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -1640,7 +1640,7 @@ static bool vfswrap_is_offline(struct vfs_handle_struct *handle,
return false;
}
- offline = dmapi_file_flags(path) & FILE_ATTRIBUTE_OFFLINE != 0;
+ offline = (dmapi_file_flags(path) & FILE_ATTRIBUTE_OFFLINE) != 0;
TALLOC_FREE(path);