GCC fixes: string.c_str() in LOG

This was SVN commit r1034.
This commit is contained in:
Ykkrosh 2004-08-21 12:55:43 +00:00
parent 59fd28fc93
commit 6873de4ed0

View File

@ -104,7 +104,7 @@ bool CNetClient::AuthenticateHandler(CNetMessage *pMsg, CNetSession *pSession)
CResult *msg=(CResult *)pMsg;
if (msg->m_Code != NRC_OK)
{
LOG(ERROR, LOG_CAT_NET, "CNetClient::AuthenticateHandler(): Authentication failed: %ls", msg->m_Message);
LOG(ERROR, LOG_CAT_NET, "CNetClient::AuthenticateHandler(): Authentication failed: %ls", msg->m_Message.c_str());
}
else
LOG(NORMAL, LOG_CAT_NET, "CNetClient::AuthenticateHandler(): Authenticated!");