From c2c970fd50b293031390358d72aaa7bd94da6e6d Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 19 May 2007 22:29:59 +0000 Subject: [PATCH] r23016: Remove extra & - thanks to Volker for spotting this. Jeremy. --- source/smbd/reply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/smbd/reply.c b/source/smbd/reply.c index ec110e7b213..364f571f4bf 100644 --- a/source/smbd/reply.c +++ b/source/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) { -- 2.47.3