summaryrefslogtreecommitdiff
path: root/lib/zlib.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zlib.js')
-rw-r--r--lib/zlib.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zlib.js b/lib/zlib.js
index 605d10338..43725bff2 100644
--- a/lib/zlib.js
+++ b/lib/zlib.js
@@ -92,7 +92,7 @@ exports.createUnzip = function(o) {
// generic zlib
// minimal 2-byte header
function Deflate(opts) {
- if (!(this instanceof Deflate)) return new Deflate(opt);
+ if (!(this instanceof Deflate)) return new Deflate(opts);
Zlib.call(this, opts, binding.Deflate);
}