From 43fdd1748c8e7d0432f5f960687df74870df60de Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 28 Mar 2008 17:32:52 -0700 Subject: Fix missing '&&'. Jeremy. (This used to be commit 251df53811e4272b629575a4b50c29a99715ccf9) --- source3/smbd/reply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index eb8e5ff915..972f30dbbd 100644 --- a/source3/smbd/reply.c +++ b/source3/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; -- cgit