Revision: 4507
http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4507&view=rev
Author: bphinz
Date: 2011-06-17 20:46:08 +0000 (Fri, 17 Jun 2011)
Log Message:
-----------
corrected missing index ptr in new ZlibInStream implementation
Modified Paths:
--------------
trunk/java/src/com/tigervnc/rdr/ZlibInStream.java
Modified: trunk/java/src/com/tigervnc/rdr/ZlibInStream.java
===================================================================
--- trunk/java/src/com/tigervnc/rdr/ZlibInStream.java 2011-06-17 13:00:58 UTC
(rev 4506)
+++ trunk/java/src/com/tigervnc/rdr/ZlibInStream.java 2011-06-17 20:46:08 UTC
(rev 4507)
@@ -33,6 +33,7 @@
b = new byte[bufSize];
bytesIn = offset = 0;
zs = new ZStream();
+ zs.next_in = null;
zs.next_in_index = 0;
zs.avail_in = 0;
if (zs.inflateInit() != JZlib.Z_OK) {
@@ -112,6 +113,7 @@
int n = underlying.check(1, 1, wait);
if (n == 0) return false;
zs.next_in = underlying.getbuf();
+ zs.next_in_index = underlying.getptr();
zs.avail_in = underlying.getend() - underlying.getptr();
if (zs.avail_in > bytesIn)
zs.avail_in = bytesIn;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Tigervnc-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits