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 73152c4..a2f2af6 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__.