summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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 c5ed0eb8ba..26a0c9e7a9 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -2188,7 +2188,7 @@ int send_file_readX(connection_struct *conn, char *inbuf,char *outbuf,int length
exit_server("send_file_readX: fake_sendfile failed");
}
DEBUG( 3, ( "send_file_readX: fake_sendfile fnum=%d max=%d nread=%d\n",
- fsp->fnum, (int)smb_maxcnt, (int)(nread + (data - outbuf)) ) );
+ fsp->fnum, (int)smb_maxcnt, (int)nread ) );
/* Returning -1 here means successful sendfile. */
return -1;
}