* Minor fixes
This commit is contained in:
parent
2c8ce36154
commit
45aa97071e
|
@ -183,6 +183,10 @@ function startListening() {
|
|||
});
|
||||
});
|
||||
|
||||
server.on('error', function serverErr(err) {
|
||||
logger.log.info(err); // 'close' should be handled after
|
||||
});
|
||||
|
||||
server.listen(port);
|
||||
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) {
|
||||
this.term.env['TERM'] = ttype;
|
||||
this.term.env.TERM = ttype;
|
||||
this.term.termType = ttype;
|
||||
|
||||
Log.debug( { termType : ttype }, 'Set terminal type');
|
||||
}
|
||||
};
|
||||
|
||||
TelnetClient.prototype.handleSbCommand = function(evt) {
|
||||
var self = this;
|
||||
|
|
Loading…
Reference in New Issue