]> git.saurik.com Git - wxWidgets.git/commitdiff
show the message about test2 being unsupported on the console
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 20 Dec 2007 14:08:32 +0000 (14:08 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 20 Dec 2007 14:08:32 +0000 (14:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/sockets/baseserver.cpp

index ae511045fe154ab2130599bbe64692e91830ba9b..9fcd74f33884563290ced03d1782cbbfef51da94 100644 (file)
@@ -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();
                     }