Permalink
Browse files

Merge pull request #927 from fisted/fix_tellport

tell what port might be in use, if we cannot bind
  • Loading branch information...
2 parents 35f3944 + 00f580c commit 841e0dcb3277b03e74b26c39c0fec61489c6b6c1 @oy oy committed Jan 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/engine/server/server.cpp
@@ -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;
}

0 comments on commit 841e0dc

Please sign in to comment.