mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-28 03:33:42 +00:00
Fix a typo
https://msdn.microsoft.com/zh-cn/library/windows/desktop/ms738573%28v=vs.85%29.aspx
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ void ss_error(const char *s)
|
||||
|
||||
int setnonblocking(int fd)
|
||||
{
|
||||
u_long iMode = 0;
|
||||
u_long iMode = 1;
|
||||
long int iResult;
|
||||
iResult = ioctlsocket(fd, FIONBIO, &iMode);
|
||||
if (iResult != NO_ERROR) {
|
||||
|
||||
Reference in New Issue
Block a user