diff --git a/src/node/RosTCP.js b/src/node/RosTCP.js index cdfae0f6a..2f2b50133 100644 --- a/src/node/RosTCP.js +++ b/src/node/RosTCP.js @@ -6,15 +6,15 @@ var util = require('util'); /** * Same as core Ros except supports TCP connections - * also can receive a socket.io instance (options.socketio) or server intance (option.http) + * also can receive a socket.io instance (options.socketio) or server instance (option.http) * to connect to the front using socket.io * @private */ function RosTCP(options) { options = options || {}; if (!options.encoding) { - console.error('ROSLib uses utf8 encoding by default.' + - 'It would be more efficent to use ascii (if possible)'); + console.error('ROSLib uses utf8 encoding by default. ' + + 'It would be more efficient to use ascii (if possible).'); } this.encoding = options.encoding || 'utf8'; Ros.call(this, options);