From eac3dc9d5f9be2228297a9524acbaceab6728dfa Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 7 Apr 2010 11:25:55 -0700 Subject: [PATCH] Bugfix: net.js flushing, _doFlush typo --- lib/net.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net.js b/lib/net.js index 58da9f735f..c143f77ca1 100644 --- a/lib/net.js +++ b/lib/net.js @@ -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'));