- more bug fixes found during menu navigation and testing

This commit is contained in:
Mark Vejvoda
2010-06-11 04:55:49 +00:00
parent b40a9d58c4
commit 4debe015ce
3 changed files with 98 additions and 31 deletions

View File

@@ -1539,7 +1539,10 @@ void ServerSocket::bind(int port)
{
char szBuf[1024]="";
sprintf(szBuf, "In [%s::%s] Error binding socket sock = %d, err = %d, error = %s\n",__FILE__,__FUNCTION__,sock,err,getLastSocketErrorFormattedText().c_str());
throwException(szBuf);
SystemFlags::OutputDebug(SystemFlags::debugNetwork,"%s",szBuf);
sprintf(szBuf, "Error binding socket sock = %d, err = %d, error = %s\n",sock,err,getLastSocketErrorFormattedText().c_str());
throw runtime_error(szBuf);
}
}