1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +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:
Volker Lendecke 2024-02-02 15:06:06 +01:00
parent 7c68d88cef
commit 9f56551275

View File

@ -3509,7 +3509,7 @@ NTSTATUS cli_open(struct cli_state *cli, const char *fname, int flags,
}
#if defined(O_SYNC)
if ((flags & O_SYNC) == O_SYNC) {
if (flags & O_SYNC) {
dos_deny |= (1<<14);
}
#endif /* O_SYNC */