Skip to content
Snippets Groups Projects
Commit 87ab9519 authored by deuce's avatar deuce
Browse files

Fix that ole last commit.

parent 200623a5
No related branches found
No related tags found
No related merge requests found
...@@ -421,7 +421,9 @@ BOOL DLLCALL js_socket_isset(JSContext *cx, jsval val, fd_set *fds) ...@@ -421,7 +421,9 @@ BOOL DLLCALL js_socket_isset(JSContext *cx, jsval val, fd_set *fds)
} }
} }
else { else {
if (p->sock != INVALID_SOCKET) { if (*p->sock == INVALID_SOCKET)
return TRUE;
else {
if(FD_ISSET(p->sock, fds)) if(FD_ISSET(p->sock, fds))
return TRUE; return TRUE;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment