Fix the windows test failure caused by the #15435 changes.

This commit is contained in:
Yawning Angel 2015-04-02 03:25:51 +00:00
parent e10e6f78b1
commit 38c8e0bfc5

View File

@ -4074,7 +4074,7 @@ tor_spawn_background(const char *const filename, const char **argv,
format_win32_error(GetLastError()));
return status;
}
if (!SetHandleInformation(stderr_pipe_write, HANDLE_FLAG_INHERIT, 0)) {
if (!SetHandleInformation(stdin_pipe_write, HANDLE_FLAG_INHERIT, 0)) {
log_warn(LD_GENERAL,
"Failed to configure pipe for stdin communication with child "
"process: %s", format_win32_error(GetLastError()));