Fix warning about unused label with no sendfile.
authorJeremy Allison <jra@samba.org>
Tue, 12 May 2009 06:23:17 +0000 (23:23 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 12 May 2009 06:23:17 +0000 (23:23 -0700)
Jeremy.

source3/smbd/reply.c

index 418c8ba7884928faacddb85a1aa1c323ec9ad3a2..f1275b1088e25a8516f581476746bbdbe06ab845 100644 (file)
@@ -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];