]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - windows/winnpc.c
In GUI PuTTY, log standard error from local proxy commands.
[PuTTY.git] / windows / winnpc.c
index 0e8ac6994dc5baa45e21fff76d84451a480f1a32..85a3c3ffc3b6e37b252ba0c7f1d92cd41d33fa7d 100644 (file)
@@ -16,8 +16,8 @@
 
 #include "winsecur.h"
 
-Socket make_handle_socket(HANDLE send_H, HANDLE recv_H, Plug plug,
-                          int overlapped);
+Socket make_handle_socket(HANDLE send_H, HANDLE recv_H, HANDLE stderr_H,
+                          Plug plug, int overlapped);
 
 Socket new_named_pipe_client(const char *pipename, Plug plug)
 {
@@ -96,7 +96,7 @@ Socket new_named_pipe_client(const char *pipename, Plug plug)
     LocalFree(psd);
     sfree(usersid);
 
-    return make_handle_socket(pipehandle, pipehandle, plug, TRUE);
+    return make_handle_socket(pipehandle, pipehandle, NULL, plug, TRUE);
 }
 
 #endif /* !defined NO_SECURITY */