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 ruyadorno committed Aug 22, 2022
1 parent 6bff14b commit aa7c053
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 @@ -1018,7 +1018,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 aa7c053

Please sign in to comment.