mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
fix debug crash on startup
This commit is contained in:
parent
914ad8e2f7
commit
f9792eff63
|
@ -78,7 +78,7 @@ bool CServerBrowserFavorites::AddFavoriteEx(const char *pHostname, const NETADDR
|
|||
if(g_Config.m_Debug)
|
||||
{
|
||||
char aBuf[256];
|
||||
str_format(aBuf, sizeof(aBuf), "added fav '%s' (%s)", pHostname);
|
||||
str_format(aBuf, sizeof(aBuf), "added fav '%s'", pHostname);
|
||||
m_pConsole->Print(IConsole::OUTPUT_LEVEL_DEBUG, "client_srvbrowse", aBuf);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue