s3: Re-add (), fix a gcc hint
authorVolker Lendecke <vl@samba.org>
Fri, 30 Sep 2011 08:11:31 +0000 (10:11 +0200)
committerVolker Lendecke <vlendec@samba.org>
Fri, 30 Sep 2011 13:06:47 +0000 (15:06 +0200)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Sep 30 15:06:47 CEST 2011 on sn-devel-104

source3/modules/vfs_default.c

index 745b36c97c5a4e89886a6d659f545f43bfa01bd0..55b6bc7bfcc1dae6b42edce038f8dabd1f6d6825 100644 (file)
@@ -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);