You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2008/09/03 04:51:36 UTC

svn commit: r691478 - /httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c

Author: wrowe
Date: Tue Sep  2 19:51:36 2008
New Revision: 691478

URL: http://svn.apache.org/viewvc?rev=691478&view=rev
Log:
Count every byte (received) for logging, patch by wrowe and jimjag

Modified:
    httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c

Modified: httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c?rev=691478&r1=691477&r2=691478&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c (original)
+++ httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c Tue Sep  2 19:51:36 2008
@@ -2460,7 +2460,8 @@
     apr_int32_t openflag;
     const char *reply;
     char *buffer;
-    apr_size_t total = 0, len;
+    apr_off_t total = 0;
+    apr_size_t len;
     request_rec *rr;
     int clientstatus = APR_SUCCESS;
     int status = FTP_REPLY_DATA_CLOSE;