mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
smbd: Avoid a "? True : False"
Just came across this, looked weird... Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
58d7b76a0a
commit
b4a3c22acd
@ -5153,7 +5153,7 @@ static NTSTATUS smb_file_rename_information(connection_struct *conn,
|
||||
return NT_STATUS_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
overwrite = (CVAL(pdata,0) ? True : False);
|
||||
overwrite = (CVAL(pdata,0) != 0);
|
||||
root_fid = IVAL(pdata,4);
|
||||
len = IVAL(pdata,8);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user