httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r603252 - /httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c
Date Tue, 11 Dec 2007 14:19:38 GMT
Author: wrowe
Date: Tue Dec 11 06:19:38 2007
New Revision: 603252

URL: http://svn.apache.org/viewvc?rev=603252&view=rev
Log:
Stolen code from apr had lingering apr var names.

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=603252&r1=603251&r2=603252&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c (original)
+++ httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c Tue Dec 11 06:19:38 2007
@@ -1745,10 +1745,10 @@
     memcpy(sa, c->local_addr, sizeof(apr_sockaddr_t));
     sa->next = NULL;
     if (sa->family == APR_INET)
-        addr->ipaddr_ptr = &(addr->sa.sin.sin_addr);
+        sa->ipaddr_ptr = &(sa->sa.sin.sin_addr);
 #if APR_HAVE_IPV6
     else if (sa->family == APR_INET6)
-        addr->ipaddr_ptr = &(addr->sa.sin6.sin6_addr);
+        sa->ipaddr_ptr = &(sa->sa.sin6.sin6_addr);
 #endif
 
     if (fsc->active_min != -1) {



Mime
View raw message