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/qcommon | |
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/qcommon')
-rw-r--r-- | src/qcommon/net_ip.c | 2 | ||||
-rw-r--r-- | src/qcommon/qcommon.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/qcommon/net_ip.c b/src/qcommon/net_ip.c index 651fd4d3..882562e9 100644 --- a/src/qcommon/net_ip.c +++ b/src/qcommon/net_ip.c @@ -1303,8 +1303,6 @@ static void NET_GetLocalAddress( void ) { if(gethostname( hostname, 256 ) == SOCKET_ERROR) return; - Com_Printf( "Hostname: %s\n", hostname ); - memset(&hint, 0, sizeof(hint)); hint.ai_family = AF_UNSPEC; diff --git a/src/qcommon/qcommon.h b/src/qcommon/qcommon.h index c896ccbe..567abe5f 100644 --- a/src/qcommon/qcommon.h +++ b/src/qcommon/qcommon.h @@ -1040,8 +1040,6 @@ void * QDECL Sys_LoadGameDll( const char *name, intptr_t (QDECL **entryPoint)(in intptr_t (QDECL *systemcalls)(intptr_t, ...) ); void Sys_UnloadDll( void *dllHandle ); -char *Sys_GetCurrentUser( void ); - void QDECL Sys_Error( const char *error, ...) __attribute__ ((noreturn, format (printf, 1, 2))); void Sys_Quit (void) __attribute__ ((noreturn)); char *Sys_GetClipboardData( void ); // note that this isn't journaled... |