Skip to content

Commit

Permalink
net: remove unused callback
Browse files Browse the repository at this point in the history
PR-URL: #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 targos committed Sep 5, 2022
1 parent bc92cf4 commit b227422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/net.js
Original file line number Diff line number Diff line change
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 b227422

Please sign in to comment.