* fhandler_socket.cc (fhandler_socket::recv_internal): Mark WSARecvMsg

as NO_COPY.
This commit is contained in:
Corinna Vinschen
2009-06-17 08:23:17 +00:00
parent 6a451dce26
commit 3477392bd7
2 changed files with 6 additions and 1 deletions

View File

@ -1310,7 +1310,7 @@ fhandler_socket::recv_internal (LPWSAMSG wsamsg)
LPWSABUF wsabuf = wsamsg->lpBuffers;
ULONG wsacnt = wsamsg->dwBufferCount;
bool use_recvmsg = false;
static LPFN_WSARECVMSG WSARecvMsg;
static NO_COPY LPFN_WSARECVMSG WSARecvMsg;
bool waitall = !!(wsamsg->dwFlags & MSG_WAITALL);
bool dontwait = !!(wsamsg->dwFlags & MSG_DONTWAIT);