From 56c9ab4054676402998fde440bc882366e0de451 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 20 Jul 1998 17:57:34 +0000 Subject: Don't generate progress messages when writing to syslog. svn path=/trunk/; revision=1999 --- NEWS | 1 + driver.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 4fd34e59..2e26f797 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,7 @@ fetchmail-4.5.3 (): checking or fetching Kerberos tickets. This change eliminates many gethostbyname calls. * It's now possible to specify multiple spam-block responses as a list. +* Download-progress dots are no longer generated when syslog is enabled. * 1.1 version of fetchmailconf. Note: the DNS-usage change might conceivably break your configuration diff --git a/driver.c b/driver.c index 425ffd5f..08ae5e3e 100644 --- a/driver.c +++ b/driver.c @@ -1421,7 +1421,7 @@ int num; /* index of message */ free_str_list(&xmit_names); return(PS_IOERR); } - else if (outlevel == O_VERBOSE) + else if (!run.use_syslog && outlevel == O_VERBOSE) fputs("#", stderr); /* write error notifications */ @@ -1528,7 +1528,7 @@ flag forward; /* TRUE to forward */ sizeticker += linelen; while (sizeticker >= SIZETICKER) { - if (outlevel > O_SILENT) + if (!run.use_syslog && outlevel > O_SILENT) error_build("."); sizeticker -= SIZETICKER; } -- cgit v1.2.3