httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From taka...@apache.org
Subject svn commit: r1601558 - /httpd/httpd/trunk/server/listen.c
Date Tue, 10 Jun 2014 07:05:06 GMT
Author: takashi
Date: Tue Jun 10 07:05:06 2014
New Revision: 1601558

URL: http://svn.apache.org/r1601558
Log:
follow up r1599531 and r1599593:
C99fix

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

Modified: httpd/httpd/trunk/server/listen.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/listen.c?rev=1601558&r1=1601557&r2=1601558&view=diff
==============================================================================
--- httpd/httpd/trunk/server/listen.c (original)
+++ httpd/httpd/trunk/server/listen.c Tue Jun 10 07:05:06 2014
@@ -764,8 +764,8 @@ AP_DECLARE(apr_status_t) ap_duplicate_li
 
     mpm_listen = apr_palloc(p, sizeof(ap_listen_rec*) * num_buckets);
     for (i = 0; i < num_buckets; i++) {
-        lr = ap_listeners;
         ap_listen_rec *last = NULL;
+        lr = ap_listeners;
         while (lr) {
             ap_listen_rec *duplr;
             char *hostname;



Mime
View raw message