]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Made a slight tweak to the previous --stats change.
authorWayne Davison <wayned@samba.org>
Fri, 18 Apr 2003 20:03:41 +0000 (20:03 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 18 Apr 2003 20:03:41 +0000 (20:03 +0000)
main.c

diff --git a/main.c b/main.c
index e9670ef85421fba229a0f6065ac582a3ad9573f6..a33f7a7fa3c04f02ed02925da3188a73befbe13c 100644 (file)
--- a/main.c
+++ b/main.c
@@ -85,10 +85,9 @@ static void report(int f)
        extern int remote_version;
        int send_stats;
 
-       if (do_stats) {
+       if (do_stats && verbose > 1) {
                /* These come out from every process */
-               if (verbose > 1)
-                       show_malloc_stats();
+               show_malloc_stats();
                show_flist_stats();
        }