Fixed get_xattr_acl() -- it needed to zero *len_p.
[rsync/rsync.git] / hlink.c
diff --git a/hlink.c b/hlink.c
index 6dde2cc..2392ecd 100644 (file)
--- a/hlink.c
+++ b/hlink.c
@@ -345,7 +345,8 @@ 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 == 0
+                                || (verbose < 2 && stdout_format_has_i < 2)) {
                                        itemizing = 0;
                                        code = FNONE;
                                        if (verbose > 1 && maybe_ATTRS_REPORT)