Needed to call safe_fname() when listing the remote names.
authorWayne Davison <wayned@samba.org>
Mon, 7 Feb 2005 19:40:31 +0000 (19:40 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 7 Feb 2005 19:40:31 +0000 (19:40 +0000)
flist.c

diff --git a/flist.c b/flist.c
index 2ded8e6..0e81e9e 100644 (file)
--- 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)));
        }
 }