show the message about test2 being unsupported on the console

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-12-20 14:08:32 +00:00
parent 2f08f1a423
commit f2582d7d90

View File

@ -510,7 +510,7 @@ wxThread::ExitCode ThreadWorker::Entry()
if (signature[0] == 0xCE) if (signature[0] == 0xCE)
{ {
LogWorker(m_peer,_("This server does not support test2 from GUI client")); LogWorker(m_peer,_("This server does not support test2 from GUI client"),LOG_ERROR);
e.m_workerFailed = true; e.m_workerFailed = true;
e.m_exit = true; e.m_exit = true;
return 0; return 0;
@ -603,7 +603,7 @@ EventWorker::DoRead()
unsigned char type = m_signature[0]; unsigned char type = m_signature[0];
if (type == 0xCE) if (type == 0xCE)
{ {
LogWorker(m_peer,_("This server does not support test2 from GUI client")); LogWorker(m_peer,_("This server does not support test2 from GUI client"),LOG_ERROR);
m_written = -1; //wxSOCKET_LOST will interpret this as failure m_written = -1; //wxSOCKET_LOST will interpret this as failure
m_socket->Close(); m_socket->Close();
} }