From: Jeff Trawick Date: Wed, 6 Oct 2004 14:23:15 +0000 (+0000) Subject: remove dead code X-Git-Tag: 2.1.1~168 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51de48d00a6db749da0e5617a2fdc04da69c4ee2;p=thirdparty%2Fapache%2Fhttpd.git remove dead code git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105392 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/winnt/child.c b/server/mpm/winnt/child.c index a407122d2dc..f8f0592e444 100644 --- a/server/mpm/winnt/child.c +++ b/server/mpm/winnt/child.c @@ -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); }