diff --git a/lib/net.js b/lib/net.js index 548e5e7878a56b..a6f14cd034b7b2 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) {