Winsock fixes for shutdown() - typo

This commit is contained in:
Jan Vidar Krey 2009-06-25 17:07:21 +02:00
parent 9ebb38ae15
commit 7e3a26b0f3
1 changed files with 1 additions and 1 deletions

View File

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