Commit 24da80c0 authored by Joe Orton's avatar Joe Orton
Browse files

* server/listen.c (open_listeners): Avoid shadowing the 'next'

variable at function-scope.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@265701 13f79535-47bb-0310-9956-ffa450edef68
parent efad24bf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -388,7 +388,7 @@ static int open_listeners(apr_pool_t *pool)
                && 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) {