From 4bc5619137b05483c2dc812108d5aec689102c81 Mon Sep 17 00:00:00 2001 From: Bryan Roe Date: Tue, 26 Mar 2019 22:58:17 -0700 Subject: [PATCH] Fixed typo --- microstack/ILibAsyncSocket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/microstack/ILibAsyncSocket.c b/microstack/ILibAsyncSocket.c index 794e726..80927c8 100644 --- a/microstack/ILibAsyncSocket.c +++ b/microstack/ILibAsyncSocket.c @@ -799,7 +799,7 @@ void ILibAsyncSocket_Disconnect(ILibAsyncSocket_SocketModule socketModule) #endif closesocket(s); #elif defined(_POSIX) - shutdown(s, SHUT_RD); + shutdown(s, SHUT_WR); close(s); #endif }