Skip to content

Commit

Permalink
Make comment easier to follow
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickjuchli committed Oct 31, 2018
1 parent d2c750e commit d0d75c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/FtpContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ module.exports = class FTPContext {
this._removeSocketListeners(this._socket);
}
if (socket) {
// Don't set a timeout yet. Timeout for control sockets is only active during a task, see handle() below.
socket.setKeepAlive(true);
// Timeout for control sockets is only active during a task, see handle() below.
socket.on("data", data => this._onControlSocketData(data));
this._setupErrorHandlers(socket, "control");
}
Expand Down

0 comments on commit d0d75c4

Please sign in to comment.