httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r293170 - /httpd/httpd/branches/2.2.x/server/listen.c
Date Sun, 02 Oct 2005 21:32:32 GMT
Author: colm
Date: Sun Oct  2 14:32:29 2005
New Revision: 293170

URL: http://svn.apache.org/viewcvs?rev=293170&view=rev
Log:
Sync with trunk: remove an unneccessary over-lapping variable (jorton)
and fix a style nit (colm).

Modified:
    httpd/httpd/branches/2.2.x/server/listen.c

Modified: httpd/httpd/branches/2.2.x/server/listen.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.2.x/server/listen.c?rev=293170&r1=293169&r2=293170&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/server/listen.c (original)
+++ httpd/httpd/branches/2.2.x/server/listen.c Sun Oct  2 14:32:29 2005
@@ -387,7 +387,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) {
@@ -561,7 +561,8 @@
     return num_listeners;
 }
 
-AP_DECLARE_NONSTD(void) ap_close_listeners(void) {
+AP_DECLARE_NONSTD(void) ap_close_listeners(void) 
+{
     ap_listen_rec *lr;
 
     for (lr = ap_listeners; lr; lr = lr->next) {



Mime
View raw message