aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-07-31 02:45:29 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-07-31 02:45:29 +0000
commit4dcdfe2a5d44697fc6abb7e9ac1e4e25df4da706 (patch)
tree1c74f8d203acdfa969da55d5edb800c6fd925d1e
parentd3916bd5516948a91cf67224623f3092f694bd58 (diff)
downloadfetchmail-4dcdfe2a5d44697fc6abb7e9ac1e4e25df4da706.tar.gz
fetchmail-4dcdfe2a5d44697fc6abb7e9ac1e4e25df4da706.tar.bz2
fetchmail-4dcdfe2a5d44697fc6abb7e9ac1e4e25df4da706.zip
Fix progress stars and hashes.
svn path=/trunk/; revision=4204
-rw-r--r--transact.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/transact.c b/transact.c
index 0d40d1bf..46f12d3f 100644
--- a/transact.c
+++ b/transact.c
@@ -1196,8 +1196,8 @@ int readheaders(int sock,
free_str_list(&msgblk.recipients);
return(PS_IOERR);
}
- else if ((run.poll_interval == 0 || nodetach) && outlevel >= O_VERBOSE && !isafile(2))
- fputs("#", stdout);
+ else if ((run.poll_interval == 0 || nodetach) && outlevel >= O_VERBOSE && !isafile(1) && !run.use_syslog)
+ fputc('#', stdout);
/* write error notifications */
if (no_local_matches || has_nuls || bad_addresses)
@@ -1366,7 +1366,7 @@ int readbody(int sock, struct query *ctl, flag forward, int len)
release_sink(ctl);
return(PS_IOERR);
}
- else if (outlevel >= O_VERBOSE && !isafile(1))
+ else if (outlevel >= O_VERBOSE && !isafile(1) && !run.use_syslog)
{
fputc('*', stdout);
fflush(stdout);