verified by the vast majority of folks complaining about the "Not a
handle" failures in WSADuplicateHandle, later in the code flow.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94712
13f79535-47bb-0310-9956-
ffa450edef68
* problem by not altering the handle identifier. But this won't
* work on 9x - it's unsupported.
*/
- if (!SetHandleInformation(nsd, HANDLE_FLAG_INHERIT, 0)) {
+ if (!SetHandleInformation((HANDLE)nsd, HANDLE_FLAG_INHERIT, 0)) {
ap_log_error(APLOG_MARK, APLOG_ERR, apr_get_os_error(), ap_server_conf,
"set_listeners_noninheritable: SetHandleInformation failed.");
}