diff --git a/lib/connection.js b/lib/connection.js index 6584c871d..8ca279dd4 100644 --- a/lib/connection.js +++ b/lib/connection.js @@ -296,7 +296,7 @@ Connection.prototype.execute = function(config, more) { this._send(0x45, more); }; -var emptyBuffer = Buffer(0); +var emptyBuffer = new Buffer(0); Connection.prototype.flush = function() { //0x48 = 'H'