some warnings fixed in the sockets code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-03-11 00:47:00 +00:00
parent 7c8aaed1c7
commit 378d2bd3a8
2 changed files with 12 additions and 4 deletions

View File

@@ -653,7 +653,7 @@ bool wxSocketBase::_Wait(long seconds,
{
m_connected = FALSE;
m_establishing = FALSE;
return (flags & GSOCK_LOST_FLAG);
return (flags & GSOCK_LOST_FLAG) != 0;
}
// Wait more?