aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.c
diff options
context:
space:
mode:
authorYawning Angel <yawning@schwanenlied.me>2015-04-02 03:25:51 +0000
committerYawning Angel <yawning@schwanenlied.me>2015-04-02 03:25:51 +0000
commit38c8e0bfc5d08b6c20a30e094a474da5db2e06bf (patch)
tree6ac3903acdc9477875fdd369b51e13cd7ec48eaa /src/common/util.c
parente10e6f78b17395ce6f3c341c1efd6da671c7c00c (diff)
downloadtor-38c8e0bfc5d08b6c20a30e094a474da5db2e06bf.tar.gz
tor-38c8e0bfc5d08b6c20a30e094a474da5db2e06bf.zip
Fix the windows test failure caused by the #15435 changes.
Diffstat (limited to 'src/common/util.c')
-rw-r--r--src/common/util.c2
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()));