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 1a89a2f..f5c69b9 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);
        }
 }