Connection: fix 'this' reference

fork
Brian White 8 years ago
parent 31e29ab772
commit 2fb335a3c7
No known key found for this signature in database
GPG Key ID: 606D7358F94DA209

@ -1710,7 +1710,7 @@ Connection.prototype._starttls = function() {
});
self._sock.on('error', self._onError);
self._sock.on('timeout', this._onSocketTimeout);
self._sock.on('timeout', self._onSocketTimeout);
self._sock.setTimeout(self._config.socketTimeout);
self._parser.setStream(self._sock);

Loading…
Cancel
Save