git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c1f710
)
r23299: Fix the build for !WITH_SENDFILE.
author
James Peach
<jpeach@samba.org>
Fri, 1 Jun 2007 19:34:08 +0000
(19:34 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:23:04 +0000
(12:23 -0500)
source/smbd/reply.c
patch
|
blob
|
history
diff --git
a/source/smbd/reply.c
b/source/smbd/reply.c
index 6d4c08b663dfbc5941ac8ac65365f9abe0cbbd2f..3a80d9eaa6e865e9c09364000ba0566a3c50d73b 100644
(file)
--- a/
source/smbd/reply.c
+++ b/
source/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;