From: Jeremy Allison Date: Sat, 19 May 2007 22:29:59 +0000 (+0000) Subject: r23016: Remove extra & - thanks to Volker for spotting this. X-Git-Tag: samba-4.0.0alpha6~801^2~5828 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e67c8d09fde8594c411702f6d32bb977d15c7445;p=thirdparty%2Fsamba.git r23016: Remove extra & - thanks to Volker for spotting this. Jeremy. (This used to be commit c2c970fd50b293031390358d72aaa7bd94da6e6d) --- diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index ec110e7b213..364f571f4bf 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) {