mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Bugfix: net.js flushing, _doFlush typo
This commit is contained in:
1 parent
d36bb6536e
commit
eac3dc9d5f
1 file changed
+1
-1
+1
-1
@@ -587,7 +587,7 @@ function doConnect (socket, port, host) {
|
||||
socket.resume();
|
||||
socket.readable = true;
|
||||
socket.writable = true;
|
||||
socket._writeWatcher.callback = socket._doFlush;
|
||||
socket._writeWatcher.callback = _doFlush;
|
||||
socket.emit('connect');
|
||||
} else if (errno != EINPROGRESS) {
|
||||
socket.forceClose(errnoException(errno, 'connect'));
|
||||
|
||||
Reference in new issue
Block a user