From 4dcdfe2a5d44697fc6abb7e9ac1e4e25df4da706 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 31 Jul 2005 02:45:29 +0000 Subject: Fix progress stars and hashes. svn path=/trunk/; revision=4204 --- transact.c | 6 +++--- 1 file 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); -- cgit v1.2.3