mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-21 22:28:37 -05:00
I seem to have slightly funted Plink's display of banners etc in r6437, oops.
Fixed. [originally from svn r6846] [r6437 == 8719f92c1426609de7ead4a490a15d1d18875f53]
This commit is contained in:
parent
e67b9cfd78
commit
2afdb02660
2
ssh.c
2
ssh.c
@ -1052,7 +1052,7 @@ static void c_write_stderr(int trusted, const char *buf, int len)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < len; i++)
|
for (i = 0; i < len; i++)
|
||||||
if (buf[i] != '\r' && (trusted || buf[i] & 0x60))
|
if (buf[i] != '\r' && (trusted || buf[i] == '\n' || (buf[i] & 0x60)))
|
||||||
fputc(buf[i], stderr);
|
fputc(buf[i], stderr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user