logeventf() shouldn't throw stuff at stderr, since it invokes the
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 19 Dec 2002 11:51:42 +0000 (11:51 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 19 Dec 2002 11:51:42 +0000 (11:51 +0000)
ssh.c logevent _macro_ which has already done so! Duhh.

git-svn-id: svn://svn.tartarus.org/sgt/putty@2356 cda61777-01e9-0310-a592-d414129be87e

ssh.c

diff --git a/ssh.c b/ssh.c
index 62f2a8e..0ac24d2 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);
 }