httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r603693 - /httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c
Date Wed, 12 Dec 2007 18:21:32 GMT
Author: wrowe
Date: Wed Dec 12 10:21:31 2007
New Revision: 603693

URL: http://svn.apache.org/viewvc?rev=603693&view=rev
Log:
We overwrite clientsa in the next line, surely this is a noop.

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=603693&r1=603692&r2=603693&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c (original)
+++ httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c Wed Dec 12 10:21:31 2007
@@ -1776,7 +1776,6 @@
         return FTP_REPLY_CANNOT_OPEN_DATACONN;
     }
 
-    apr_socket_addr_get(&fc->clientsa, APR_LOCAL, s);
     rv = apr_sockaddr_info_get(&fc->clientsa, ip_addr, family,
                                port, 0, c->pool);
     if (rv) {
@@ -1945,7 +1944,6 @@
         return FTP_REPLY_CANNOT_OPEN_DATACONN;
     }
 
-    apr_socket_addr_get(&fc->clientsa, APR_LOCAL, s);
     apr_sockaddr_info_get(&fc->clientsa, ip_addr, APR_INET,
                           port, 0, c->pool);
 



Mime
View raw message