tell what port might be in use, if we cannot bind

This commit is contained in:
fisted 2012-01-28 23:54:04 +01:00
parent 1a1b4a096a
commit 00f580cb91

View file

@ -1285,7 +1285,7 @@ int CServer::Run()
if(!m_NetServer.Open(BindAddr, &m_ServerBan, g_Config.m_SvMaxClients, g_Config.m_SvMaxClientsPerIP, 0))
{
dbg_msg("server", "couldn't open socket. port might already be in use");
dbg_msg("server", "couldn't open socket. port %d might already be in use", g_Config.m_SvPort);
return -1;
}