]> Pileus Git - ~andy/fetchmail/commitdiff
Fix progress stars and hashes.
authorMatthias Andree <matthias.andree@gmx.de>
Sun, 31 Jul 2005 02:45:29 +0000 (02:45 -0000)
committerMatthias Andree <matthias.andree@gmx.de>
Sun, 31 Jul 2005 02:45:29 +0000 (02:45 -0000)
svn path=/trunk/; revision=4204

transact.c

index 0d40d1bfe2725065f5e1e12da81188c7e6a574f0..46f12d3fb06cc7f8f337d856b04bf603f5c45e7c 100644 (file)
@@ -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);