Winsock fixes for shutdown() - typo
This commit is contained in:
parent
9ebb38ae15
commit
7e3a26b0f3
|
@ -275,7 +275,7 @@ int net_shutdown_r(int fd)
|
||||||
int net_shutdown_w(int fd)
|
int net_shutdown_w(int fd)
|
||||||
{
|
{
|
||||||
#ifdef WINSOCK
|
#ifdef WINSOCK
|
||||||
return shutdown(fd, SD_SEND)
|
return shutdown(fd, SD_SEND);
|
||||||
#else
|
#else
|
||||||
return shutdown(fd, SHUT_WR);
|
return shutdown(fd, SHUT_WR);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue