mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-09 00:28:06 +00:00
huge cleanup and conversion of most string handling (especially paths) to unicode
please note: format strings must be %hs for char* arguments and %ls for wchar_t* This was SVN commit r7161.
This commit is contained in:
1 parent
a46f3432f3
commit
8a52113e60
317 files changed
+2517
-2588
No files matched your search
@@ -866,7 +866,7 @@ bool CNetServerSession::BaseHandler(
|
||||
else
|
||||
{
|
||||
// Not disconnected? Weired...
|
||||
LOG( WARNING, LOG_CAT_NET, "CNetServerSession::BaseHandler() NMT_ERROR: %s", pErrMessage->ToString().c_str() );
|
||||
LOG( WARNING, LOG_CATEGORY, L"CNetServerSession::BaseHandler() NMT_ERROR: %s", pErrMessage->ToString().c_str() );
|
||||
}
|
||||
|
||||
delete pMessage;
|
||||
@@ -892,7 +892,7 @@ bool CNetServerSession::HandshakeHandler(
|
||||
CNetServerSession* pSrvSession = dynamic_cast< CNetServerSession* >( pSession );
|
||||
if ( !pSrvSession ) return false;
|
||||
|
||||
LOG( NORMAL, LOG_CAT_NET, "CNetServerSession::HandshakeHandler() %s", pMessage->ToString().c_str() );
|
||||
LOG( NORMAL, LOG_CATEGORY, L"CNetServerSession::HandshakeHandler() %s", pMessage->ToString().c_str() );
|
||||
|
||||
// Call base handler if other message thant NMT_ClientHandshake
|
||||
if ( pMessage->GetType() != NMT_ClientHandshake ) BaseHandler( pMessage, pSession );
|
||||
|
||||
Reference in new issue
Block a user