X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=unix%2Fuxcons.c;h=882d2c9bfe4fa949b704f2ec1a1fc081681c476e;hb=f004bcca17a789356c32527a396b68b71a773db2;hp=ce1a49238b4547f131337e658d5238672f866627;hpb=da66c0656a6622a23cfdd8316e66681e487b87f1;p=PuTTY.git diff --git a/unix/uxcons.c b/unix/uxcons.c index ce1a4923..882d2c9b 100644 --- a/unix/uxcons.c +++ b/unix/uxcons.c @@ -70,7 +70,7 @@ void notify_remote_exit(void *frontend) { } -void timer_change_notify(long next) +void timer_change_notify(unsigned long next) { } @@ -321,10 +321,12 @@ void console_provide_logctx(void *logctx) void logevent(void *frontend, const char *string) { struct termios cf; - premsg(&cf); + if ((flags & FLAG_STDERR) && (flags & FLAG_VERBOSE)) + premsg(&cf); if (console_logctx) log_eventlog(console_logctx, string); - postmsg(&cf); + if ((flags & FLAG_STDERR) && (flags & FLAG_VERBOSE)) + postmsg(&cf); } /*