* Minor fixes
This commit is contained in:
@@ -183,6 +183,10 @@ function startListening() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
server.on('error', function serverErr(err) {
|
||||||
|
logger.log.info(err); // 'close' should be handled after
|
||||||
|
});
|
||||||
|
|
||||||
server.listen(port);
|
server.listen(port);
|
||||||
logger.log.info({ server : module.moduleInfo.name, port : port }, 'Listening for connections');
|
logger.log.info({ server : module.moduleInfo.name, port : port }, 'Listening for connections');
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -537,11 +537,11 @@ TelnetClient.prototype.handleDontCommand = function(evt) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
TelnetClient.prototype.setTermType = function(ttype) {
|
TelnetClient.prototype.setTermType = function(ttype) {
|
||||||
this.term.env['TERM'] = ttype;
|
this.term.env.TERM = ttype;
|
||||||
this.term.termType = ttype;
|
this.term.termType = ttype;
|
||||||
|
|
||||||
Log.debug( { termType : ttype }, 'Set terminal type');
|
Log.debug( { termType : ttype }, 'Set terminal type');
|
||||||
}
|
};
|
||||||
|
|
||||||
TelnetClient.prototype.handleSbCommand = function(evt) {
|
TelnetClient.prototype.handleSbCommand = function(evt) {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|||||||
Reference in New Issue
Block a user