]> granicus.if.org Git - apache/commitdiff
Eliminate silly redundancy
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 6 Jan 2008 18:33:13 +0000 (18:33 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 6 Jan 2008 18:33:13 +0000 (18:33 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@609369 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/winnt/mpm_winnt.c

index 04ffa508b7b8073086eec99a248f4c13f6fe5a68..8568f1cc732b9617bf8ccd16f13b3e1d754255b6 100644 (file)
@@ -1393,7 +1393,8 @@ static int winnt_pre_config(apr_pool_t *pconf_, apr_pool_t *plog, apr_pool_t *pt
         }
     }
 
-    /* Win9x: disable AcceptEx */
+    /* use_acceptex (enabled by default) is not available on Win9x.
+     */
     if (osver.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS) {
         use_acceptex = 0;
     }
@@ -1406,11 +1407,6 @@ static int winnt_pre_config(apr_pool_t *pconf_, apr_pool_t *plog, apr_pool_t *pt
 #ifdef AP_MPM_WANT_SET_MAX_MEM_FREE
         ap_max_mem_free = APR_ALLOCATOR_MAX_FREE_UNLIMITED;
 #endif
-    /* use_acceptex which is enabled by default is not available on Win9x.
-     */
-    if (osver.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS) {
-        use_acceptex = 0;
-    }
 
     apr_cpystrn(ap_coredump_dir, ap_server_root, sizeof(ap_coredump_dir));