Browse Source

Fix connect bug

v0.7.4-release
Bert Belder 14 years ago
parent
commit
dd3308851d
  1. 2
      src/node_net.cc

2
src/node_net.cc

@ -450,7 +450,7 @@ static Handle<Value> Connect(const Arguments& args) {
if (r == INVALID_SOCKET) {
int wsaErrno = WSAGetLastError();
if (wsaErrno != WSAEALREADY && wsaErrno != WSAEINPROGRESS) {
if (wsaErrno != WSAEWOULDBLOCK && wsaErrno != WSAEINPROGRESS) {
return ThrowException(ErrnoException(wsaErrno, "connect"));
}
}

Loading…
Cancel
Save