engine: server: minor fix, use __func__ instead of the function name in debug message

This commit is contained in:
Alibek Omarov 2024-10-21 02:32:07 +03:00
parent 60d6214ad7
commit 47318b0c14

View file

@ -953,7 +953,7 @@ static void SV_Info( netadr_t from, int protocolVersion )
if( remaining < 0 )
{
// should never happen?
Con_Printf( S_ERROR "SV_Info: infostring overflow!\n" );
Con_Printf( S_ERROR "%s: infostring overflow!\n", __func__ );
return;
}
Q_strncpy( temp, hostname.string, remaining );