engine: server: minor fix, use __func__ instead of the function name in debug message
This commit is contained in:
parent
60d6214ad7
commit
47318b0c14
1 changed files with 1 additions and 1 deletions
|
@ -953,7 +953,7 @@ static void SV_Info( netadr_t from, int protocolVersion )
|
||||||
if( remaining < 0 )
|
if( remaining < 0 )
|
||||||
{
|
{
|
||||||
// should never happen?
|
// should never happen?
|
||||||
Con_Printf( S_ERROR "SV_Info: infostring overflow!\n" );
|
Con_Printf( S_ERROR "%s: infostring overflow!\n", __func__ );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Q_strncpy( temp, hostname.string, remaining );
|
Q_strncpy( temp, hostname.string, remaining );
|
||||||
|
|
Loading…
Add table
Reference in a new issue