summaryrefslogtreecommitdiff
path: root/sftp-int.c
diff options
context:
space:
mode:
Diffstat (limited to 'sftp-int.c')
-rw-r--r--sftp-int.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sftp-int.c b/sftp-int.c
index 46e405e0d..03b229999 100644
--- a/sftp-int.c
+++ b/sftp-int.c
@@ -889,8 +889,13 @@ interactive_loop(int fd_in, int fd_out, char *file1, char *file2)
889 return; 889 return;
890 } 890 }
891 } 891 }
892#if HAVE_SETVBUF
892 setvbuf(stdout, NULL, _IOLBF, 0); 893 setvbuf(stdout, NULL, _IOLBF, 0);
893 setvbuf(infile, NULL, _IOLBF, 0); 894 setvbuf(infile, NULL, _IOLBF, 0);
895#else
896 setlinebuf(stdout);
897 setlinebuf(infile);
898#endif
894 899
895 for(;;) { 900 for(;;) {
896 char *cp; 901 char *cp;