httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r265701 - /httpd/httpd/trunk/server/listen.c
Date Thu, 01 Sep 2005 11:55:35 GMT
Author: jorton
Date: Thu Sep  1 04:55:31 2005
New Revision: 265701

URL: http://svn.apache.org/viewcvs?rev=265701&view=rev
Log:
* server/listen.c (open_listeners): Avoid shadowing the 'next'
variable at function-scope.

Modified:
    httpd/httpd/trunk/server/listen.c

Modified: httpd/httpd/trunk/server/listen.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/server/listen.c?rev=265701&r1=265700&r2=265701&view=diff
==============================================================================
--- httpd/httpd/trunk/server/listen.c (original)
+++ httpd/httpd/trunk/server/listen.c Thu Sep  1 04:55:31 2005
@@ -388,7 +388,7 @@
                 && lr->bind_addr->port == lr->next->bind_addr->port
                 && IS_IN6ADDR_ANY(lr->next->bind_addr)) {
                 /* Exchange lr and lr->next */
-                ap_listen_rec *next = lr->next;
+                next = lr->next;
                 lr->next = next->next;
                 next->next = lr;
                 if (previous) {



Mime
View raw message