summaryrefslogtreecommitdiff
path: root/flist.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-02-07 19:40:31 +0000
committerWayne Davison <wayned@samba.org>2005-02-07 19:40:31 +0000
commit54b405985632b71444f215bb547a2b6a7f0f3637 (patch)
tree1476384ad94df31046c38e9beba5bec94ea566aa /flist.c
parent38059f8e8e9a5a88754991ef1697373fca0997ca (diff)
downloadrsync-54b405985632b71444f215bb547a2b6a7f0f3637.tar.gz
rsync-54b405985632b71444f215bb547a2b6a7f0f3637.tar.bz2
rsync-54b405985632b71444f215bb547a2b6a7f0f3637.zip
Needed to call safe_fname() when listing the remote names.
Diffstat (limited to 'flist.c')
-rw-r--r--flist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/flist.c b/flist.c
index 2ded8e6e..0e81e9ec 100644
--- a/flist.c
+++ b/flist.c
@@ -153,14 +153,14 @@ static void list_file_entry(struct file_struct *f)
rprintf(FINFO, "%s %11.0f %s %s -> %s\n",
perms,
(double)f->length, timestring(f->modtime),
- f_name(f), f->u.link);
+ safe_fname(f_name(f)), f->u.link);
} else
#endif
{
rprintf(FINFO, "%s %11.0f %s %s\n",
perms,
(double)f->length, timestring(f->modtime),
- f_name(f));
+ safe_fname(f_name(f)));
}
}