Browse Source

zlib: fix assert message

v0.7.4-release
Ben Noordhuis 13 years ago
parent
commit
f1ca485357
  1. 2
      src/node_zlib.cc

2
src/node_zlib.cc

@ -207,7 +207,7 @@ template <node_zlib_mode mode> class ZCtx : public ObjectWrap {
HandleScope scope; HandleScope scope;
assert(args.Length() == 4 && assert(args.Length() == 4 &&
"init(level, windowBits, memLevel, strategy)"); "init(windowBits, level, memLevel, strategy)");
ZCtx<mode> *ctx = ObjectWrap::Unwrap< ZCtx<mode> >(args.This()); ZCtx<mode> *ctx = ObjectWrap::Unwrap< ZCtx<mode> >(args.This());

Loading…
Cancel
Save