diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2004-03-31 09:13:54 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2004-03-31 09:13:54 +0000 |
commit | 4450172a6c9a97bf9ec6ec1504f0297defe47cb4 (patch) | |
tree | bb833b31565cc89535e4eeb71ab634d59f208219 /winsup/cygwin/cygserver_ipc.h | |
parent | ed4c5eceb09c54c9d683229262e8740b808f401e (diff) | |
download | cygnal-4450172a6c9a97bf9ec6ec1504f0297defe47cb4.tar.gz cygnal-4450172a6c9a97bf9ec6ec1504f0297defe47cb4.tar.bz2 cygnal-4450172a6c9a97bf9ec6ec1504f0297defe47cb4.zip |
* fhandler_socket.cc (fhandler_socket::recvfrom): Initialize res to
SOCKET_ERROR. Use SOCKET_ERROR instead of -1 throughout.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Ditto.
* net.cc (wsock_event::prepare): Call WSASetLastError instead of
SetLastError.
(wsock_event::wait): Use SOCKET_ERROR instead of -1.
Diffstat (limited to 'winsup/cygwin/cygserver_ipc.h')
0 files changed, 0 insertions, 0 deletions