From: Jeremy Allison Date: Sat, 29 Mar 2008 00:32:52 +0000 (-0700) Subject: Fix missing '&&'. X-Git-Tag: samba-3.3.0pre1~3014 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=251df53811e4272b629575a4b50c29a99715ccf9;p=thirdparty%2Fsamba.git Fix missing '&&'. Jeremy. --- diff --git a/source/smbd/reply.c b/source/smbd/reply.c index eb8e5ff9153..972f30dbbd0 100644 --- a/source/smbd/reply.c +++ b/source/smbd/reply.c @@ -2656,7 +2656,7 @@ void send_file_readbraw(connection_struct *conn, * reply_readbraw has already checked the length. */ - if ( (chain_size == 0) && (nread > 0) && (fsp->base_fsp == NULL) + if ( (chain_size == 0) && (nread > 0) && (fsp->base_fsp == NULL) && (fsp->wcp == NULL) && lp_use_sendfile(SNUM(conn)) ) { char header[4]; DATA_BLOB header_blob;