From b3e8e7c79e5d1fb33556ea3cb9cf9830085c22a5 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 14 May 2006 00:27:33 +0000 Subject: [PATCH] Make --quiet quieter (like it used to be), but also don't allow it to interfere with any logging of messages that is going on. --- log.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/log.c b/log.c index f62a8cfe..139f0025 100644 --- a/log.c +++ b/log.c @@ -224,9 +224,6 @@ void rwrite(enum logcode code, char *buf, int len) if (len < 0) exit_cleanup(RERR_MESSAGEIO); - if (quiet && code == FINFO) - return; - if (am_server && msg_fd_out >= 0) { /* Pass the message to our sibling. */ send_msg((enum msgcode)code, buf, len); @@ -258,6 +255,9 @@ void rwrite(enum logcode code, char *buf, int len) } else if (code == FLOG) return; + if (quiet && code != FERROR) + return; + if (am_server) { /* Pass the message to the non-server side. */ if (send_msg((enum msgcode)code, buf, len)) -- 2.34.1