revert erroneous checkin

This commit is contained in:
Christopher Faylor
2006-08-10 14:16:24 +00:00
parent 44d67b9b31
commit 2f98d8bdc7
2 changed files with 18 additions and 5 deletions

View File

@ -38,7 +38,6 @@
#include <sys/acl.h>
#include "cygtls.h"
#include "cygwin/in6.h"
#include "mmap_helper.h"
#define ASYNC_MASK (FD_READ|FD_WRITE|FD_OOB|FD_ACCEPT|FD_CONNECT)
#define EVENT_MASK (FD_READ|FD_WRITE|FD_OOB|FD_ACCEPT|FD_CONNECT|FD_CLOSE)
@ -1164,8 +1163,8 @@ fhandler_socket::recv_internal (WSABUF *wsabuf, DWORD wsacnt, DWORD flags,
while (!(res = wait_for_events (evt_mask | FD_CLOSE))
|| saw_shutdown_read ())
{
res = mmWSARecvFrom (get_socket (), wsabuf, wsacnt, &ret,
&flags, from, fromlen, NULL, NULL);
res = WSARecvFrom (get_socket (), wsabuf, wsacnt, &ret,
&flags, from, fromlen, NULL, NULL);
if (!res || WSAGetLastError () != WSAEWOULDBLOCK)
break;
}