diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index ec110e7b21..364f571f4b 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -2645,7 +2645,7 @@ int send_file_readX(connection_struct *conn, char *inbuf,char *outbuf,int length normal_read: - if ((smb_maxcnt && 0xFF0000) > 0x10000) { + if ((smb_maxcnt & 0xFF0000) > 0x10000) { int sendlen = setup_readX_header(inbuf,outbuf,smb_maxcnt) - smb_maxcnt; /* Send out the header. */ if (write_data(smbd_server_fd(),outbuf,sendlen) != sendlen) { |