summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_socket.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/fhandler_socket.cc')
-rw-r--r--winsup/cygwin/fhandler_socket.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_socket.cc b/winsup/cygwin/fhandler_socket.cc
index 93af60ee4..d2e4ac286 100644
--- a/winsup/cygwin/fhandler_socket.cc
+++ b/winsup/cygwin/fhandler_socket.cc
@@ -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);