From bfabe0f3b95edc0e5ad937fc07f9bbba35aba929 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 3 Mar 2006 20:54:10 +0000 Subject: [PATCH] Stop printing blank lines in verbose syslog mode. svn path=/branches/BRANCH_6-3/; revision=4715 --- NEWS | 1 + driver.c | 4 ++-- 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); -- 2.43.2