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:
parent
7c68d88cef
commit
9f56551275
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user