Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

nit pick

  • Loading branch information...
commit 95cff7529d2d62300ef04f7476dd1dc7d0326c75 1 parent 09ae5d4
Garrett Johnson authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/message.js
2  lib/message.js
View
@@ -37,7 +37,7 @@ function Message(data, meta){
*/
Message.prototype.write = function(data, meta){
- var buf = this.pack(data, meta !== undefined ? meta: 1);
+ var buf = this.pack(data, meta == null ? 1 : meta);
this.byteLength += buf.length;
this.parts.push(buf);
return this;
Please sign in to comment.
Something went wrong with that request. Please try again.