summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2007-06-01 19:34:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:04 -0500
commit7d48db6a622af587d2f3fa2541b77fa1179ca042 (patch)
treea1927eddd679cb8556e7b6908680fdfc5d76c470 /source3/smbd
parenta7efef4d094f5f90d7c9a7cf70592367875443de (diff)
downloadsamba-7d48db6a622af587d2f3fa2541b77fa1179ca042.tar.gz
samba-7d48db6a622af587d2f3fa2541b77fa1179ca042.tar.bz2
samba-7d48db6a622af587d2f3fa2541b77fa1179ca042.zip
r23299: Fix the build for !WITH_SENDFILE.
(This used to be commit 87b92e7ebda018f1d6a588748e282dc1a2c50613)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/reply.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 6d4c08b663..3a80d9eaa6 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -2246,11 +2246,10 @@ void send_file_readbraw(connection_struct *conn, files_struct *fsp, SMB_OFF_T st
return;
}
-
- normal_readbraw:
-
#endif
+normal_readbraw:
+
if (nread > 0) {
ret = read_file(fsp,outbuf+4,startpos,nread);
#if 0 /* mincount appears to be ignored in a W2K server. JRA. */
@@ -2646,7 +2645,7 @@ int send_file_readX(connection_struct *conn, char *inbuf,char *outbuf,int length
#endif
- normal_read:
+normal_read:
if ((smb_maxcnt & 0xFF0000) > 0x10000) {
int sendlen = setup_readX_header(inbuf,outbuf,smb_maxcnt) - smb_maxcnt;