summaryrefslogtreecommitdiff
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-03-28 17:32:52 -0700
committerJeremy Allison <jra@samba.org>2008-03-28 17:32:52 -0700
commit43fdd1748c8e7d0432f5f960687df74870df60de (patch)
tree98b7ec45730c07e539d8b57cc8bc15b40c6becd0 /source3/smbd/reply.c
parentfba9aa4ecf39eee157f5a24e3bc58b68809f092d (diff)
downloadsamba-43fdd1748c8e7d0432f5f960687df74870df60de.tar.gz
samba-43fdd1748c8e7d0432f5f960687df74870df60de.tar.bz2
samba-43fdd1748c8e7d0432f5f960687df74870df60de.zip
Fix missing '&&'.
Jeremy. (This used to be commit 251df53811e4272b629575a4b50c29a99715ccf9)
Diffstat (limited to 'source3/smbd/reply.c')
-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 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;