mirror of
https://github.com/samba-team/samba.git
synced 2025-09-17 05:44:20 +03:00
libsmb: Simplify an if-condition
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
@@ -3509,7 +3509,7 @@ NTSTATUS cli_open(struct cli_state *cli, const char *fname, int flags,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(O_SYNC)
|
#if defined(O_SYNC)
|
||||||
if ((flags & O_SYNC) == O_SYNC) {
|
if (flags & O_SYNC) {
|
||||||
dos_deny |= (1<<14);
|
dos_deny |= (1<<14);
|
||||||
}
|
}
|
||||||
#endif /* O_SYNC */
|
#endif /* O_SYNC */
|
||||||
|
Reference in New Issue
Block a user