]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
logeventf() shouldn't throw stuff at stderr, since it invokes the
authorSimon Tatham <anakin@pobox.com>
Thu, 19 Dec 2002 11:51:42 +0000 (11:51 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 19 Dec 2002 11:51:42 +0000 (11:51 +0000)
ssh.c logevent _macro_ which has already done so! Duhh.

[originally from svn r2356]

ssh.c

diff --git a/ssh.c b/ssh.c
index 62f2a8e2e213e121abe307d3736b09193315a2cd..0ac24d26ce9d9142c7763b276d85bc4b372d7e59 100644 (file)
--- 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);
 }