aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-09-20 10:45:15 +0200
committermarha <marha@users.sourceforge.net>2013-09-20 10:45:15 +0200
commit4888b09cfc72713f460dd7457fb2b7eca0abb91c (patch)
tree93e639fa2962bdfdce5575bb89ea9b658dd1d701
parentd7c7138ea6282e01e3ea6ccd420305c8021bee52 (diff)
downloadvcxsrv-4888b09cfc72713f460dd7457fb2b7eca0abb91c.tar.gz
vcxsrv-4888b09cfc72713f460dd7457fb2b7eca0abb91c.tar.bz2
vcxsrv-4888b09cfc72713f460dd7457fb2b7eca0abb91c.zip
Solved compile warnings (runtime errors?)1.14.3
-rw-r--r--tools/plink/winplink.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/plink/winplink.c b/tools/plink/winplink.c
index d82b81fb7..27c386c07 100644
--- a/tools/plink/winplink.c
+++ b/tools/plink/winplink.c
@@ -773,21 +773,21 @@ _Check_return_opt_ int __cdecl printf(_In_z_ _Printf_format_string_ const char *
// redirect unbuffered STDOUT to the console
lStdHandle = (long)GetStdHandle(STD_OUTPUT_HANDLE);
hConHandle = _open_osfhandle(lStdHandle, _O_TEXT);
- fp = _fdopen( hConHandle, "w" );
+ fp = fdopen( hConHandle, "w" );
*stdout = *fp;
setvbuf( stdout, NULL, _IONBF, 0 );
// redirect unbuffered STDIN to the console
lStdHandle = (long)GetStdHandle(STD_INPUT_HANDLE);
hConHandle = _open_osfhandle(lStdHandle, _O_TEXT);
- fp = _fdopen( hConHandle, "r" );
+ fp = fdopen( hConHandle, "r" );
*stdin = *fp;
setvbuf( stdin, NULL, _IONBF, 0 );
// redirect unbuffered STDERR to the console
lStdHandle = (long)GetStdHandle(STD_ERROR_HANDLE);
hConHandle = _open_osfhandle(lStdHandle, _O_TEXT);
- fp = _fdopen( hConHandle, "w" );
+ fp = fdopen( hConHandle, "w" );
*stderr = *fp;
setvbuf( stderr, NULL, _IONBF, 0 );