Fixed a bug introduced in Rev. 2935 - in Windows HANDLE and SOCKET are different.

git-svn-id: http://voip.null.ro/svn/yate@2941 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2009-11-13 10:44:28 +00:00
parent a6c98d7dbc
commit 5e64836656
1 changed files with 1 additions and 1 deletions

View File

@ -1528,7 +1528,7 @@ bool Socket::canSelect(SOCKET handle)
bool Socket::select(bool* readok, bool* writeok, bool* except, struct timeval* timeout)
{
HANDLE tmp = m_handle;
SOCKET tmp = m_handle;
if (!valid())
return false;
#ifdef FD_SETSIZE