From: Vadim Zeitlin Date: Thu, 20 Dec 2007 14:08:32 +0000 (+0000) Subject: show the message about test2 being unsupported on the console X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f2582d7d90d6dc5914e46d6a6d1d161f531fcaf2 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 --- diff --git a/samples/sockets/baseserver.cpp b/samples/sockets/baseserver.cpp index ae511045fe..9fcd74f338 100644 --- a/samples/sockets/baseserver.cpp +++ b/samples/sockets/baseserver.cpp @@ -510,7 +510,7 @@ wxThread::ExitCode ThreadWorker::Entry() 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_exit = true; return 0; @@ -603,7 +603,7 @@ EventWorker::DoRead() unsigned char type = m_signature[0]; 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_socket->Close(); }