diff --git a/lib/net.js b/lib/net.js index 845805edb6a507..192ecc51edc165 100644 --- a/lib/net.js +++ b/lib/net.js @@ -1034,7 +1034,7 @@ function internalConnect( req.address = address; req.oncomplete = afterConnect; - err = self._handle.connect(req, address, afterConnect); + err = self._handle.connect(req, address); } if (err) {