]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r23016: Remove extra & - thanks to Volker for spotting this.
authorJeremy Allison <jra@samba.org>
Sat, 19 May 2007 22:29:59 +0000 (22:29 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:22:15 +0000 (12:22 -0500)
Jeremy.

source/smbd/reply.c

index ec110e7b213c1ad9b97d961692b0a8bde2da44b9..364f571f4bfe9fc71cec38308317981a6c7828b5 100644 (file)
@@ -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) {