[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Fix the windows test failure caused by the #15435 changes.



commit 38c8e0bfc5d08b6c20a30e094a474da5db2e06bf
Author: Yawning Angel <yawning@xxxxxxxxxxxxxxx>
Date:   Thu Apr 2 03:25:51 2015 +0000

    Fix the windows test failure caused by the #15435 changes.
---
 src/common/util.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/util.c b/src/common/util.c
index 7379da6..f8d1b7b 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()));

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits