Author: jra Date: 2007-05-19 22:29:59 +0000 (Sat, 19 May 2007) New Revision: 23016
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23016 Log: Remove extra & - thanks to Volker for spotting this. Jeremy. Modified: branches/SAMBA_3_0/source/smbd/reply.c branches/SAMBA_3_0_26/source/smbd/reply.c Changeset: Modified: branches/SAMBA_3_0/source/smbd/reply.c =================================================================== --- branches/SAMBA_3_0/source/smbd/reply.c 2007-05-19 21:53:28 UTC (rev 23015) +++ branches/SAMBA_3_0/source/smbd/reply.c 2007-05-19 22:29:59 UTC (rev 23016) @@ -2645,7 +2645,7 @@ 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) { Modified: branches/SAMBA_3_0_26/source/smbd/reply.c =================================================================== --- branches/SAMBA_3_0_26/source/smbd/reply.c 2007-05-19 21:53:28 UTC (rev 23015) +++ branches/SAMBA_3_0_26/source/smbd/reply.c 2007-05-19 22:29:59 UTC (rev 23016) @@ -2643,7 +2643,7 @@ #endif - if ((smb_maxcnt && 0xFF0000) > 0x10000) { + if ((smb_maxcnt & 0xFF0000) > 0x10000) { int sendlen = setup_readX_header(outbuf,smb_maxcnt) - smb_maxcnt; /* Send out the header. */ if (write_data(smbd_server_fd(),outbuf,sendlen) != sendlen) {
