mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 09:12:24 +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:
parent
a564ad3140
commit
7f7e3f539c
4
ssh.c
4
ssh.c
@ -656,10 +656,6 @@ void logeventf(Ssh ssh, char *fmt, ...)
|
|||||||
buf = dupvprintf(fmt, ap);
|
buf = dupvprintf(fmt, ap);
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
logevent(buf);
|
logevent(buf);
|
||||||
if ((flags & FLAG_STDERR) && (flags & FLAG_VERBOSE)) {
|
|
||||||
fprintf(stderr, "%s\n", buf);
|
|
||||||
fflush(stderr);
|
|
||||||
}
|
|
||||||
sfree(buf);
|
sfree(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user