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 Aug 11, 2022
1 parent c377053 commit 818bd6c
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 @@ -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) {
Expand Down

0 comments on commit 818bd6c

Please sign in to comment.