Skip to content

Commit

Permalink
net: remove unused callback
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#44204
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Feng Yu <F3n67u@outlook.com>
  • Loading branch information
theanarkh authored and guangwong committed Jan 3, 2023
1 parent cad36f6 commit 669db12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/net.js
Expand Up @@ -996,7 +996,7 @@ function internalConnect(
req.address = address;
req.oncomplete = afterConnect;

err = self._handle.connect(req, address, afterConnect);
err = self._handle.connect(req, address);
}

if (err) {
Expand Down

0 comments on commit 669db12

Please sign in to comment.