summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-05-11 23:23:17 -0700
committerJeremy Allison <jra@samba.org>2009-05-11 23:23:17 -0700
commited443034ae5ab468356a2aa411bdde40715042e1 (patch)
tree478c2e906600af97bdeda8462fb0d416d0472dff /source3
parent6bc1ce996d67c5f0d2c2d8571cbaabaf51e26d8d (diff)
downloadsamba-ed443034ae5ab468356a2aa411bdde40715042e1.tar.gz
samba-ed443034ae5ab468356a2aa411bdde40715042e1.tar.bz2
samba-ed443034ae5ab468356a2aa411bdde40715042e1.zip
Fix warning about unused label with no sendfile.
Jeremy.
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/reply.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 418c8ba788..f1275b1088 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -3454,10 +3454,11 @@ static void send_file_readX(connection_struct *conn, struct smb_request *req,
SMB_PERFCOUNT_END(&req->pcd);
return;
}
-#endif
normal_read:
+#endif
+
if ((smb_maxcnt & 0xFF0000) > 0x10000) {
uint8 headerbuf[smb_size + 2*12];