[Pkg-javascript-commits] [node-browserify-zlib] 14/33: Fix reset

Bastien Roucariès rouca at moszumanska.debian.org
Fri Apr 14 16:24:30 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-browserify-zlib.

commit 8d83b2bfc4a5bee9af2968a72cf29a44b396ec4c
Author: Devon Govett <devongovett at gmail.com>
Date:   Tue Apr 8 13:05:32 2014 -0700

    Fix reset
---
 src/binding.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/binding.js b/src/binding.js
index 8b706bd..3701eae 100644
--- a/src/binding.js
+++ b/src/binding.js
@@ -210,12 +210,12 @@ Zlib.prototype.close = function() {
 
 Zlib.prototype.reset = function() {
   switch (this.mode) {
-    case DEFLATE:
-    case DEFLATERAW:
+    case exports.DEFLATE:
+    case exports.DEFLATERAW:
       var status = zlib_deflate.deflateReset(this.strm);
       break;
-    case INFLATE:
-    case INFLATERAW:
+    case exports.INFLATE:
+    case exports.INFLATERAW:
       var status = zlib_inflate.inflateReset(this.strm);
       break;
   }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-browserify-zlib.git



More information about the Pkg-javascript-commits mailing list