]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Made showchg() use safe_fname().
authorWayne Davison <wayned@samba.org>
Tue, 15 Feb 2005 20:41:37 +0000 (20:41 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 15 Feb 2005 20:41:37 +0000 (20:41 +0000)
generator.c

index aecf892fbc27518eafc400a9f7891a5e4cb2892a..120faa57024c52d703cb2fa88dc544ec2c89451c 100644 (file)
@@ -124,7 +124,7 @@ static void showchg(const char *fname, struct file_struct *file, int statret,
                while (*s == '-') s++;
        if (*s) {
            print_it:
-               rprintf(FINFO, "%s %s%s%s", ch, fname,
+               rprintf(FINFO, "%s %s%s%s", ch, safe_fname(fname),
                        ch[1] == 'd' ? "/" : "",
                        flags & SC_NO_NL ? "" : "\n");
        }