From: Jeremy Allison Date: Mon, 20 Dec 2004 22:04:53 +0000 (+0000) Subject: r4295: Don't include header len in data write debug. X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5470 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=473babfecac87a7e1068246bddc171a464be59e5;p=thirdparty%2Fsamba.git r4295: Don't include header len in data write debug. Jeremy. --- diff --git a/source/smbd/reply.c b/source/smbd/reply.c index c5ed0eb8ba0..26a0c9e7a9b 100644 --- a/source/smbd/reply.c +++ b/source/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; }