changeset 35:05018c63a721

rogue5: remove some NULLs.
author elwin
date Tue, 15 Jun 2010 20:49:22 +0000
parents 655c317b6237
children 2128c7dc8a40
files rogue5/mdport.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rogue5/mdport.c	Mon May 24 20:16:15 2010 +0000
+++ b/rogue5/mdport.c	Tue Jun 15 20:49:22 2010 +0000
@@ -485,10 +485,10 @@
     if (pw != NULL)
         h = pw->pw_dir;
     else
-        h = NULL;
+        h = "";
 
     if (strcmp(h,"/") == 0)
-        h = NULL;
+        h = "";
 #endif
     homedir[0] = 0;
 #ifdef _WIN32