1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-30 15:13:57 +00:00

Fixed typo

This commit is contained in:
Bryan Roe
2019-03-26 22:58:17 -07:00
parent ed18cb7944
commit 4bc5619137

View File

@@ -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
}