mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
Do not assign to properties that only have getters
It is an error in strict mode, and silent failure otherwise.
This commit is contained in:
committed by
Nathan Rajlich
parent
93d4259cf0
commit
e5bb8391a8
@@ -612,11 +612,6 @@ function afterWrite(status, handle, req) {
|
||||
|
||||
|
||||
function connect(self, address, port, addressType, localAddress) {
|
||||
if (port) {
|
||||
self.remotePort = port;
|
||||
}
|
||||
self.remoteAddress = address;
|
||||
|
||||
// TODO return promise from Socket.prototype.connect which
|
||||
// wraps _connectReq.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user