X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/be8234cd5991b395ed2d2a20b9e40bbcd021a70d..7a3ce973c370322251a5f402b80a02457efa682d:/generator.c diff --git a/generator.c b/generator.c index e7c1ef7d..bec5c176 100644 --- a/generator.c +++ b/generator.c @@ -1355,10 +1355,12 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx, if (safe_symlinks && unsafe_symlink(sl, fname)) { if (INFO_GTE(NAME, 1)) { if (solo_file) + /* fname contains the destination path, but we + * want to report the source path. */ fname = f_name(file, NULL); rprintf(FINFO, - "ignoring unsafe symlink %s -> \"%s\"\n", - full_fname(fname), sl); + "ignoring unsafe symlink \"%s\" -> \"%s\"\n", + fname, sl); } return; }