diff options
Diffstat (limited to 'sftp.c')
-rw-r--r-- | sftp.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1299,8 +1299,8 @@ interactive_loop(int fd_in, int fd_out, char *file1, char *file2) | |||
1299 | setvbuf(stdout, NULL, _IOLBF, 0); | 1299 | setvbuf(stdout, NULL, _IOLBF, 0); |
1300 | setvbuf(infile, NULL, _IOLBF, 0); | 1300 | setvbuf(infile, NULL, _IOLBF, 0); |
1301 | #else | 1301 | #else |
1302 | setlinebuf(stdout); | 1302 | setlinebuf(stdout); |
1303 | setlinebuf(infile); | 1303 | setlinebuf(infile); |
1304 | #endif | 1304 | #endif |
1305 | 1305 | ||
1306 | err = 0; | 1306 | err = 0; |
@@ -1562,8 +1562,8 @@ main(int argc, char **argv) | |||
1562 | err = interactive_loop(in, out, file1, file2); | 1562 | err = interactive_loop(in, out, file1, file2); |
1563 | 1563 | ||
1564 | #if !defined(USE_PIPES) | 1564 | #if !defined(USE_PIPES) |
1565 | shutdown(in, SHUT_RDWR); | 1565 | shutdown(in, SHUT_RDWR); |
1566 | shutdown(out, SHUT_RDWR); | 1566 | shutdown(out, SHUT_RDWR); |
1567 | #endif | 1567 | #endif |
1568 | 1568 | ||
1569 | close(in); | 1569 | close(in); |