Commit febc7143 authored by deuce's avatar deuce
Browse files

Fix bug in last commit.

parent 4ffeb141
......@@ -941,6 +941,7 @@ static int close_socket(SOCKET *sock)
BOOL rd;
if(sock==NULL || *sock==INVALID_SOCKET)
return -1;
/* required to ensure all data is sent */
shutdown(*sock,SHUT_WR);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment