]> granicus.if.org Git - apache/commitdiff
make_sock() sets lr->listen on success, so no need to set
authorJeff Trawick <trawick@apache.org>
Fri, 9 Apr 2010 16:46:42 +0000 (16:46 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 9 Apr 2010 16:46:42 +0000 (16:46 +0000)
in the caller

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@932501 13f79535-47bb-0310-9956-ffa450edef68

server/listen.c

index 4a237150656ff8f7dd5bf664f3d3321a6d133bb1..0f29a856ff16ccad375d30c7d49f4199eb067697 100644 (file)
@@ -437,7 +437,6 @@ static int open_listeners(apr_pool_t *pool)
 #endif
             if (make_sock(pool, lr) == APR_SUCCESS) {
                 ++num_open;
-                lr->active = 1;
             }
             else {
 #if APR_HAVE_IPV6