From 5508f21d2b040e2e25e0352e221d19c2a45a0deb Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Mon, 14 Jul 2014 16:38:44 +0200 Subject: stop accessing the hostname, the current username and the architecture/platform/OS information use "UnnamedPlayer" as the default player name --- src/qcommon/net_ip.c | 2 -- src/qcommon/qcommon.h | 2 -- 2 files changed, 4 deletions(-) (limited to 'src/qcommon') 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... -- cgit