aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/plink/ssh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/plink/ssh.c b/tools/plink/ssh.c
index 8f1aa15de..bdbbc4fd5 100644
--- a/tools/plink/ssh.c
+++ b/tools/plink/ssh.c
@@ -1193,6 +1193,7 @@ static void c_write_stderr(int trusted, const char *buf, int len)
for (i = 0; i < len; i++)
if (buf[i] != '\r' && (trusted || buf[i] == '\n' || (buf[i] & 0x60)))
fputc(buf[i], stderr);
+ fflush(stderr);
}
static void c_write(Ssh ssh, const char *buf, int len)