diff options
author | /dev/humancontroller <devhc@example.com> | 2014-07-14 16:38:44 +0200 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-03-09 13:51:07 +0100 |
commit | 5508f21d2b040e2e25e0352e221d19c2a45a0deb (patch) | |
tree | 9efe3a94d636c2a9858f7a8e012e3765620c1e59 /src/sys/sys_unix.c | |
parent | d7077bdad052a64f1e57ba137a5461b670d52787 (diff) |
stop accessing the hostname, the current username and the architecture/platform/OS information
use "UnnamedPlayer" as the default player name
Diffstat (limited to 'src/sys/sys_unix.c')
-rw-r--r-- | src/sys/sys_unix.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/sys/sys_unix.c b/src/sys/sys_unix.c index bc3cacf5..fa1efe0c 100644 --- a/src/sys/sys_unix.c +++ b/src/sys/sys_unix.c @@ -128,21 +128,6 @@ qboolean Sys_RandomBytes( byte *string, int len ) return qtrue; } -/* -================== -Sys_GetCurrentUser -================== -*/ -char *Sys_GetCurrentUser( void ) -{ - struct passwd *p; - - if ( (p = getpwuid( getuid() )) == NULL ) { - return "player"; - } - return p->pw_name; -} - #define MEM_THRESHOLD 96*1024*1024 /* |