aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-07-20 17:57:34 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-07-20 17:57:34 +0000
commit56c9ab4054676402998fde440bc882366e0de451 (patch)
treeb57c3bfd730c2aad39eb087cac6b56b70f4e8080
parentb4a8c7e3a59385049ba16671f5839faa4d4eb0fa (diff)
downloadfetchmail-56c9ab4054676402998fde440bc882366e0de451.tar.gz
fetchmail-56c9ab4054676402998fde440bc882366e0de451.tar.bz2
fetchmail-56c9ab4054676402998fde440bc882366e0de451.zip
Don't generate progress messages when writing to syslog.
svn path=/trunk/; revision=1999
-rw-r--r--NEWS1
-rw-r--r--driver.c4
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;
}