diff options
author | Yawning Angel <yawning@schwanenlied.me> | 2015-04-02 03:25:51 +0000 |
---|---|---|
committer | Yawning Angel <yawning@schwanenlied.me> | 2015-04-02 03:25:51 +0000 |
commit | 38c8e0bfc5d08b6c20a30e094a474da5db2e06bf (patch) | |
tree | 6ac3903acdc9477875fdd369b51e13cd7ec48eaa | |
parent | e10e6f78b17395ce6f3c341c1efd6da671c7c00c (diff) | |
download | tor-38c8e0bfc5d08b6c20a30e094a474da5db2e06bf.tar.gz tor-38c8e0bfc5d08b6c20a30e094a474da5db2e06bf.zip |
Fix the windows test failure caused by the #15435 changes.
-rw-r--r-- | src/common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c index 7379da674d..f8d1b7be4b 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -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())); |