Skip to content

Commit 6d43d6d

Browse files
theanarkhjuanarbol
authored andcommitted
net: remove unused callback
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>
1 parent aec9a76 commit 6d43d6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/net.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ function internalConnect(
996996
req.address = address;
997997
req.oncomplete = afterConnect;
998998

999-
err = self._handle.connect(req, address, afterConnect);
999+
err = self._handle.connect(req, address);
10001000
}
10011001

10021002
if (err) {

0 commit comments

Comments
 (0)