From 7f7e3f539cade828d335f00f012989501230e76b Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 19 Dec 2002 11:51:42 +0000 Subject: [PATCH] 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] --- ssh.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ssh.c b/ssh.c index 62f2a8e2..0ac24d26 100644 --- a/ssh.c +++ b/ssh.c @@ -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); }