aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);