]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
hanle null strings in -vvv output
authorAndrew Tridgell <tridge@samba.org>
Fri, 30 Oct 1998 02:23:01 +0000 (02:23 +0000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 30 Oct 1998 02:23:01 +0000 (02:23 +0000)
flist.c

diff --git a/flist.c b/flist.c
index 1a89a2fbdffce1187bbb541a82f4f10b99bf7476..f5c69b9a2abf45e776320c3b3f5730fa206d58ec 100644 (file)
--- a/flist.c
+++ b/flist.c
@@ -895,10 +895,10 @@ static void clean_flist(struct file_list *flist, int strip_root)
        for (i=0;i<flist->count;i++) {
                rprintf(FINFO,"[%d] i=%d %s %s mode=0%o len=%d\n",
                        getpid(), i, 
-                       flist->files[i]->dirname,
-                       flist->files[i]->basename,
+                       NS(flist->files[i]->dirname),
+                       NS(flist->files[i]->basename),
                        flist->files[i]->mode,
-                       flist->files[i]->length);
+                       (int)flist->files[i]->length);
        }
 }