]> granicus.if.org Git - apache/commitdiff
mpm_winnt: Following up on r1801144, use the new accept_filter_e enum
authorEvgeny Kotkov <kotkov@apache.org>
Mon, 10 Jul 2017 12:22:31 +0000 (12:22 +0000)
committerEvgeny Kotkov <kotkov@apache.org>
Mon, 10 Jul 2017 12:22:31 +0000 (12:22 +0000)
values in a couple of missed places in winnt_accept().

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

server/mpm/winnt/child.c

index 510db83f0033cfc3187ead17502193afb093a354..375391e6eed47b72df35b6162a0c2142f5d6793b 100644 (file)
@@ -520,7 +520,7 @@ reinit: /* target of connect upon too many AcceptEx failures */
                                      "winnt_mpm: falling back to "
                                      "'AcceptFilter none'.");
                         err_count = 0;
-                        accf = 0;
+                        accf = ACCEPT_FILTER_NONE;
                     }
                     continue;
                 }
@@ -537,7 +537,7 @@ reinit: /* target of connect upon too many AcceptEx failures */
                                      "winnt_mpm: falling back to "
                                      "'AcceptFilter none'.");
                         err_count = 0;
-                        accf = 0;
+                        accf = ACCEPT_FILTER_NONE;
                         goto reinit;
                     }
                     continue;