aboutsummaryrefslogtreecommitdiffstats
path: root/sink.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-02-26 00:51:00 +0100
committerMatthias Andree <matthias.andree@gmx.de>2010-02-26 00:51:00 +0100
commit76fd18d1d11e5457a3a34c5d7fbe077b8c9f7a10 (patch)
treede120207cbe0ae28c1830609fa445220222d9632 /sink.c
parent568bd8434bfb8a39f5158cbb58f7396083d6c2ba (diff)
downloadfetchmail-76fd18d1d11e5457a3a34c5d7fbe077b8c9f7a10.tar.gz
fetchmail-76fd18d1d11e5457a3a34c5d7fbe077b8c9f7a10.tar.bz2
fetchmail-76fd18d1d11e5457a3a34c5d7fbe077b8c9f7a10.zip
Fix verbose mode progress formatting regression from 6.3.10.
Diffstat (limited to 'sink.c')
-rw-r--r--sink.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sink.c b/sink.c
index a7a2820e..e1f008c9 100644
--- a/sink.c
+++ b/sink.c
@@ -1269,6 +1269,8 @@ int open_sink(struct query *ctl, struct msgblk *msg,
{
*bad_addresses = *good_addresses = 0;
+ if (want_progress() && outlevel >= O_VERBOSE && !ctl->mda && !ctl->bsmtp) puts("");
+
if (ctl->bsmtp) /* dump to a BSMTP batch file */
return(open_bsmtp_sink(ctl, msg, good_addresses, bad_addresses));
/*
@@ -1348,6 +1350,8 @@ int close_sink(struct query *ctl, struct msgblk *msg, flag forward)
{
int smtp_err;
+ if (want_progress() && outlevel >= O_VERBOSE && !ctl->mda && !ctl->bsmtp) puts("");
+
if (ctl->bsmtp && sinkfp) {
int error, oerrno;