diff --git a/lib/Connection.js b/lib/Connection.js index 619862ff..58c438d7 100644 --- a/lib/Connection.js +++ b/lib/Connection.js @@ -1745,12 +1745,8 @@ Connection.prototype._processQueue = function() { Connection.prototype._sockWriteAppendData = function(appendData) { - var val = appendData; - if (Buffer.isBuffer(appendData)) - val = val.toString('utf8'); - - this.debug && this.debug('=> ' + inspect(val)); - this._sock.write(val); + this.debug && this.debug('=> ' + inspect(appendData)); + this._sock.write(appendData); this._sock.write(CRLF); };