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/11 15:19:38 UTC

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

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) {