Bugfix: net.js flushing, _doFlush typo

This commit is contained in:
Ryan Dahl committed 2010-04-07 11:47:46 -07:00
1 parent d36bb6536e
commit eac3dc9d5f
1 file changed
+1 -1
+1 -1
View File
@@ -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'));