aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-03-03 20:54:10 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-03-03 20:54:10 +0000
commitbfabe0f3b95edc0e5ad937fc07f9bbba35aba929 (patch)
tree149bb9edc93941f34b9ca476283aeaa72d74329e
parent4adb5ed5cc108364f629746ced9e4797f0f94d0f (diff)
downloadfetchmail-bfabe0f3b95edc0e5ad937fc07f9bbba35aba929.tar.gz
fetchmail-bfabe0f3b95edc0e5ad937fc07f9bbba35aba929.tar.bz2
fetchmail-bfabe0f3b95edc0e5ad937fc07f9bbba35aba929.zip
Stop printing blank lines in verbose syslog mode.
svn path=/branches/BRANCH_6-3/; revision=4715
-rw-r--r--NEWS1
-rw-r--r--driver.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index ab209f85..bc66547c 100644
--- a/NEWS
+++ b/NEWS
@@ -39,6 +39,7 @@ fetchmail 6.3.3 (not yet released):
* fetchmail no longer replaces the local user ID for an empty envelope sender
when using the proprietary SDPS extension for POP3. Fixes Debian Bug#353575,
reported by Roger Lynn.
+* fetchmail no longer prints empty lines in verbose mode when using syslog.
# CHANGES:
* --idle can now be specified on the command line, too.
diff --git a/driver.c b/driver.c
index a807b6e4..c5b92ad2 100644
--- a/driver.c
+++ b/driver.c
@@ -641,7 +641,7 @@ static int fetch_messages(int mailserver_socket, struct query *ctl,
/* tell server we got it OK and resynchronize */
if (separatefetchbody && ctl->server.base_protocol->trail)
{
- if (outlevel >= O_VERBOSE && !is_a_file(1))
+ if (outlevel >= O_VERBOSE && !is_a_file(1) && !run.use_syslog)
{
fputc('\n', stdout);
fflush(stdout);
@@ -699,7 +699,7 @@ static int fetch_messages(int mailserver_socket, struct query *ctl,
/* tell server we got it OK and resynchronize */
if (ctl->server.base_protocol->trail)
{
- if (outlevel >= O_VERBOSE && !is_a_file(1))
+ if (outlevel >= O_VERBOSE && !is_a_file(1) && !run.use_syslog)
{
fputc('\n', stdout);
fflush(stdout);