Made NS define make use of safe_fname().
authorWayne Davison <wayned@samba.org>
Mon, 7 Feb 2005 20:39:13 +0000 (20:39 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 7 Feb 2005 20:39:13 +0000 (20:39 +0000)
rsync.h

diff --git a/rsync.h b/rsync.h
index 73152c4b409304dc32135c16e08a225cb0001851..a2f2af63e3d46567ab0801a369ec67f9bb25db6f 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -751,7 +751,7 @@ extern int errno;
 #define INITACCESSPERMS 0700
 
 /* handler for null strings in printf format */
-#define NS(s) ((s)?(s):"<NULL>")
+#define NS(s) ((s)?safe_fname(s):"<NULL>")
 
 #if !defined(__GNUC__) || defined(APPLE)
 /* Apparently the OS X port of gcc gags on __attribute__.