]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
remove dead code
authorJeff Trawick <trawick@apache.org>
Wed, 6 Oct 2004 14:23:15 +0000 (14:23 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 6 Oct 2004 14:23:15 +0000 (14:23 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105392 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/winnt/child.c

index a407122d2dc3fa385afe0bb9350f952b6b397194..f8f0592e4447986774fceb159789b499ce6e1cf8 100644 (file)
@@ -333,7 +333,6 @@ static void win9x_accept(void * dummy)
     int clen;
     ap_listen_rec *lr;
     struct fd_set listenfds;
-    SOCKET listenmaxfd = INVALID_SOCKET;
 #if APR_HAVE_IPV6
     struct sockaddr_in6 sa_client;
 #else
@@ -348,9 +347,6 @@ static void win9x_accept(void * dummy)
         if (lr->sd != NULL) {
             apr_os_sock_get(&nsd, lr->sd);
             FD_SET(nsd, &listenfds);
-            if (listenmaxfd == INVALID_SOCKET || nsd > listenmaxfd) {
-                listenmaxfd = nsd;
-            }
             ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, ap_server_conf,
                          "Child %d: Listening on port %d.", my_pid, lr->bind_addr->port);
         }