diff options
-rw-r--r-- | usr.bin/ssh/sftp-int.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/sftp-int.c b/usr.bin/ssh/sftp-int.c index e77a9adc146..1bbe2531106 100644 --- a/usr.bin/ssh/sftp-int.c +++ b/usr.bin/ssh/sftp-int.c @@ -28,7 +28,7 @@ /* XXX: recursive operations */ #include "includes.h" -RCSID("$OpenBSD: sftp-int.c,v 1.13 2001/02/07 18:10:39 stevesk Exp $"); +RCSID("$OpenBSD: sftp-int.c,v 1.14 2001/02/07 22:36:03 stevesk Exp $"); #include "buffer.h" #include "xmalloc.h" @@ -604,8 +604,8 @@ interactive_loop(int fd_in, int fd_out) if (pwd == NULL) fatal("Need cwd"); - setlinebuf(stdout); - setlinebuf(stdin); + setvbuf(stdout, NULL, _IOLBF, 0); + setvbuf(stdin, NULL, _IOLBF, 0); for(;;) { char *cp; |