diff options
Diffstat (limited to 'clientloop.c')
-rw-r--r-- | clientloop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clientloop.c b/clientloop.c index 1c1acf481..d8def78bd 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -59,7 +59,7 @@ | |||
59 | */ | 59 | */ |
60 | 60 | ||
61 | #include "includes.h" | 61 | #include "includes.h" |
62 | RCSID("$OpenBSD: clientloop.c,v 1.111 2003/05/14 22:24:42 markus Exp $"); | 62 | RCSID("$OpenBSD: clientloop.c,v 1.112 2003/06/28 16:23:06 deraadt Exp $"); |
63 | 63 | ||
64 | #include "ssh.h" | 64 | #include "ssh.h" |
65 | #include "ssh1.h" | 65 | #include "ssh1.h" |
@@ -395,9 +395,9 @@ client_suspend_self(Buffer *bin, Buffer *bout, Buffer *berr) | |||
395 | 395 | ||
396 | /* Flush stdout and stderr buffers. */ | 396 | /* Flush stdout and stderr buffers. */ |
397 | if (buffer_len(bout) > 0) | 397 | if (buffer_len(bout) > 0) |
398 | atomicio(write, fileno(stdout), buffer_ptr(bout), buffer_len(bout)); | 398 | atomicio(vwrite, fileno(stdout), buffer_ptr(bout), buffer_len(bout)); |
399 | if (buffer_len(berr) > 0) | 399 | if (buffer_len(berr) > 0) |
400 | atomicio(write, fileno(stderr), buffer_ptr(berr), buffer_len(berr)); | 400 | atomicio(vwrite, fileno(stderr), buffer_ptr(berr), buffer_len(berr)); |
401 | 401 | ||
402 | leave_raw_mode(); | 402 | leave_raw_mode(); |
403 | 403 | ||