Merge pull request #53 from jsdario/patch-1

Replace `this` by `self` in a scoped reference
This commit is contained in:
Andy Prock 2017-07-04 10:12:14 -07:00 committed by GitHub
commit 59674c4c7b
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@ TcpSocket.prototype._write = function(buffer: any, encoding: ?String, callback:
Sockets.write(this._id, str, function(err) {
if (self._timeout) {
self._activeTimer(this._timeout.msecs);
self._activeTimer(self._timeout.msecs);
}
err = normalizeError(err);