+@@ -855,14 +876,14 @@ static int try_dests_reg(struct file_str
+ if (preserve_hard_links && F_IS_HLINKED(file))
+ finish_hard_link(file, fname, &sxp->st, itemizing, code, j);
+ if (itemizing && (verbose > 1 || stdout_format_has_i > 1)) {
+- itemize(fname, file, ndx, 1, sxp,
++ itemize(cmpbuf, file, ndx, 1, sxp,
+ ITEM_LOCAL_CHANGE | ITEM_XNAME_FOLLOWS,
+ 0, "");
+ }
+ } else
+ #endif
+ if (itemizing)
+- itemize(fname, file, ndx, 0, sxp, 0, 0, NULL);
++ itemize(cmpbuf, file, ndx, 0, sxp, 0, 0, NULL);
+ if (verbose > 1 && maybe_ATTRS_REPORT)
+ rprintf(FCLIENT, "%s is uptodate\n", fname);
+ return -2;
+@@ -879,9 +900,13 @@ static int try_dests_reg(struct file_str
+ }
+ return -1;