mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
r15951: oplock_request must be an int, not a BOOL. We
were getting away with mixing types. Not cool. Jeremy. (This used to be commit ad3bc112a21afd3a04449ec3f604e017d753c224)
This commit is contained in:
parent
41f139c0bb
commit
bef4969247
@ -1433,9 +1433,9 @@ int reply_open_and_X(connection_struct *conn, char *inbuf,char *outbuf,int lengt
|
||||
uint32 smb_attr = SVAL(inbuf,smb_vwv5);
|
||||
/* Breakout the oplock request bits so we can set the
|
||||
reply bits separately. */
|
||||
BOOL ex_oplock_request = EXTENDED_OPLOCK_REQUEST(inbuf);
|
||||
BOOL core_oplock_request = CORE_OPLOCK_REQUEST(inbuf);
|
||||
BOOL oplock_request = ex_oplock_request | core_oplock_request;
|
||||
int ex_oplock_request = EXTENDED_OPLOCK_REQUEST(inbuf);
|
||||
int core_oplock_request = CORE_OPLOCK_REQUEST(inbuf);
|
||||
int oplock_request = ex_oplock_request | core_oplock_request;
|
||||
#if 0
|
||||
int smb_sattr = SVAL(inbuf,smb_vwv4);
|
||||
uint32 smb_time = make_unix_date3(inbuf+smb_vwv6);
|
||||
|
Loading…
x
Reference in New Issue
Block a user