From 74e708d85a5589ab973e2db6cf2ce20204fc82a4 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 30 Oct 1998 02:23:01 +0000 Subject: [PATCH] hanle null strings in -vvv output --- flist.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flist.c b/flist.c index 1a89a2fb..f5c69b9a 100644 --- a/flist.c +++ b/flist.c @@ -895,10 +895,10 @@ static void clean_flist(struct file_list *flist, int strip_root) for (i=0;icount;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); } } -- 2.34.1