summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-05-19 22:29:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:15 -0500
commite67c8d09fde8594c411702f6d32bb977d15c7445 (patch)
tree1382365f5c511666de060d30054dbbcb3960ab31
parent4d5f58c2b945e7a2263ba42749f73c7ba72ab3c7 (diff)
downloadsamba-e67c8d09fde8594c411702f6d32bb977d15c7445.tar.gz
samba-e67c8d09fde8594c411702f6d32bb977d15c7445.tar.bz2
samba-e67c8d09fde8594c411702f6d32bb977d15c7445.zip
r23016: Remove extra & - thanks to Volker for spotting this.
Jeremy. (This used to be commit c2c970fd50b293031390358d72aaa7bd94da6e6d)
-rw-r--r--source3/smbd/reply.c2
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) {