Make last fix even better.
authorWayne Davison <wayned@samba.org>
Sun, 21 Oct 2007 21:52:25 +0000 (21:52 +0000)
committerWayne Davison <wayned@samba.org>
Sun, 21 Oct 2007 21:52:25 +0000 (21:52 +0000)
hlink.c

diff --git a/hlink.c b/hlink.c
index 3eac930..2392ecd 100644 (file)
--- a/hlink.c
+++ b/hlink.c
@@ -345,9 +345,9 @@ int hard_link_check(struct file_struct *file, int ndx, const char *fname,
                                 || prev_st.st_ino != alt_sx.st.st_ino)
                                        continue;
                                statret = 1;
-                               if (verbose < 2 || !stdout_format_has_i) {
-                                       if (stdout_format_has_i < 2)
-                                               itemizing = 0;
+                               if (stdout_format_has_i == 0
+                                || (verbose < 2 && stdout_format_has_i < 2)) {
+                                       itemizing = 0;
                                        code = FNONE;
                                        if (verbose > 1 && maybe_ATTRS_REPORT)
                                                rprintf(FCLIENT, "%s is uptodate\n", fname);