* fhandler_socket.cc (fhandler_socket::recv_internal): Mark WSARecvMsg
as NO_COPY.
This commit is contained in:
parent
6a451dce26
commit
3477392bd7
@ -1,3 +1,8 @@
|
|||||||
|
2009-06-17 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* fhandler_socket.cc (fhandler_socket::recv_internal): Mark WSARecvMsg
|
||||||
|
as NO_COPY.
|
||||||
|
|
||||||
2009-06-16 Christopher Faylor <me+cygwin@cgf.cx>
|
2009-06-16 Christopher Faylor <me+cygwin@cgf.cx>
|
||||||
|
|
||||||
* fhandler.cc (fhandler_base::read_overlapped): Use a better variable
|
* fhandler.cc (fhandler_base::read_overlapped): Use a better variable
|
||||||
|
@ -1310,7 +1310,7 @@ fhandler_socket::recv_internal (LPWSAMSG wsamsg)
|
|||||||
LPWSABUF wsabuf = wsamsg->lpBuffers;
|
LPWSABUF wsabuf = wsamsg->lpBuffers;
|
||||||
ULONG wsacnt = wsamsg->dwBufferCount;
|
ULONG wsacnt = wsamsg->dwBufferCount;
|
||||||
bool use_recvmsg = false;
|
bool use_recvmsg = false;
|
||||||
static LPFN_WSARECVMSG WSARecvMsg;
|
static NO_COPY LPFN_WSARECVMSG WSARecvMsg;
|
||||||
|
|
||||||
bool waitall = !!(wsamsg->dwFlags & MSG_WAITALL);
|
bool waitall = !!(wsamsg->dwFlags & MSG_WAITALL);
|
||||||
bool dontwait = !!(wsamsg->dwFlags & MSG_DONTWAIT);
|
bool dontwait = !!(wsamsg->dwFlags & MSG_DONTWAIT);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user