directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r387418 - /directory/trunks/mina/filter-compression/src/main/java/org/apache/mina/filter/support/Zlib.java
Date Tue, 21 Mar 2006 05:18:59 GMT
Author: trustin
Date: Mon Mar 20 21:18:57 2006
New Revision: 387418

URL: http://svn.apache.org/viewcvs?rev=387418&view=rev
Log:
Related issue: DIRMINA-179 (Stream compression support)
* Applied Vinod's another patch
* Fixed an incorrect constant name

Modified:
    directory/trunks/mina/filter-compression/src/main/java/org/apache/mina/filter/support/Zlib.java

Modified: directory/trunks/mina/filter-compression/src/main/java/org/apache/mina/filter/support/Zlib.java
URL: http://svn.apache.org/viewcvs/directory/trunks/mina/filter-compression/src/main/java/org/apache/mina/filter/support/Zlib.java?rev=387418&r1=387417&r2=387418&view=diff
==============================================================================
--- directory/trunks/mina/filter-compression/src/main/java/org/apache/mina/filter/support/Zlib.java
(original)
+++ directory/trunks/mina/filter-compression/src/main/java/org/apache/mina/filter/support/Zlib.java
Mon Mar 20 21:18:57 2006
@@ -27,7 +27,7 @@
 /**
  * A helper class for interfacing with the JZlib library. This class acts both
  * as a compressor and decompressor, but only as one at a time.  The only
- * flush method supported is <tt>Z_FLUSH_SYNC</tt> also known as <tt>Z_PARTIAL_FLUSH</tt>
+ * flush method supported is <tt>Z_SYNC_FLUSH</tt> also known as <tt>Z_PARTIAL_FLUSH</tt>
  *
  * @author The Apache Directory MINA subproject (mina-dev@directory.apache.org)
  */
@@ -113,7 +113,7 @@
 
         do
         {
-            retval = zStream.inflate( JZlib.Z_PARTIAL_FLUSH );
+            retval = zStream.inflate( JZlib.Z_SYNC_FLUSH );
             switch( retval )
             {
             case JZlib.Z_OK:



Mime
View raw message