use empty host name if os query fails

This commit is contained in:
Jeff Hill
1995-02-17 20:10:46 +00:00
parent ea2efa0e47
commit 2c82e2976c

View File

@@ -210,7 +210,7 @@ char *localUserName()
if(!pName){
pName = getpwuid(getuid())->pw_name;
if(!pName){
return NULL;
pName = "";
}
}