From: Wayne Davison Date: Tue, 15 Feb 2005 20:41:37 +0000 (+0000) Subject: Made showchg() use safe_fname(). X-Git-Tag: v2.6.4pre1~137 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69864a5ccf1f2d66c8b807888e16fbe158ad3562;p=thirdparty%2Frsync.git Made showchg() use safe_fname(). --- diff --git a/generator.c b/generator.c index aecf892f..120faa57 100644 --- a/generator.c +++ b/generator.c @@ -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"); }