1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

logeventf() shouldn't throw stuff at stderr, since it invokes the

ssh.c logevent _macro_ which has already done so! Duhh.

[originally from svn r2356]
This commit is contained in:
Simon Tatham 2002-12-19 11:51:42 +00:00
parent a564ad3140
commit 7f7e3f539c

4
ssh.c
View File

@ -656,10 +656,6 @@ void logeventf(Ssh ssh, char *fmt, ...)
buf = dupvprintf(fmt, ap);
va_end(ap);
logevent(buf);
if ((flags & FLAG_STDERR) && (flags & FLAG_VERBOSE)) {
fprintf(stderr, "%s\n", buf);
fflush(stderr);
}
sfree(buf);
}