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 2007/12/12 18:20:32 UTC

svn commit: r603678 - in /httpd/mod_ftp/trunk: include/mod_ftp.h modules/ftp/ftp_connection.c

Author: wrowe
Date: Wed Dec 12 09:20:31 2007
New Revision: 603678

URL: http://svn.apache.org/viewvc?rev=603678&view=rev
Log:
Axe ftp_connection ->timeout field, it's never used.

Modified:
    httpd/mod_ftp/trunk/include/mod_ftp.h
    httpd/mod_ftp/trunk/modules/ftp/ftp_connection.c

Modified: httpd/mod_ftp/trunk/include/mod_ftp.h
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/include/mod_ftp.h?rev=603678&r1=603677&r2=603678&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/include/mod_ftp.h (original)
+++ httpd/mod_ftp/trunk/include/mod_ftp.h Wed Dec 12 09:20:31 2007
@@ -270,7 +270,6 @@
 {
     conn_rec *connection;     /* The connection */
     server_rec *orig_server;  /* Stow the original server for reset */
-    int timeout;              /* User defined connection timeout values */
     int close_connection;     /* Final control command was processed */
     const char *response_notes; /* Notes for response handling. */
 

Modified: httpd/mod_ftp/trunk/modules/ftp/ftp_connection.c
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/modules/ftp/ftp_connection.c?rev=603678&r1=603677&r2=603678&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/ftp_connection.c (original)
+++ httpd/mod_ftp/trunk/modules/ftp/ftp_connection.c Wed Dec 12 09:20:31 2007
@@ -45,7 +45,6 @@
     fc->auth             = FTP_AUTH_NONE;
     fc->prot             = FTP_PROT_CLEAR;
     fc->cwd              = "/";
-    fc->timeout          = fsc->timeout_idle;
     fc->type             = TYPE_A;
     fc->passive_created  = -1;
 }