From e0ff940e1adb68d3575705ebf1546d9f07ad3b4a Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Fri, 9 Sep 2011 23:27:17 -0700 Subject: zlib 1.2.3.8 --- contrib/dotzlib/DotZLib/Deflater.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'contrib/dotzlib/DotZLib/Deflater.cs') diff --git a/contrib/dotzlib/DotZLib/Deflater.cs b/contrib/dotzlib/DotZLib/Deflater.cs index d7b8dcc..c247792 100644 --- a/contrib/dotzlib/DotZLib/Deflater.cs +++ b/contrib/dotzlib/DotZLib/Deflater.cs @@ -1,7 +1,7 @@ // // © Copyright Henrik Ravn 2004 // -// Use, modification and distribution are subject to the Boost Software License, Version 1.0. +// Use, modification and distribution are subject to the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // @@ -56,7 +56,7 @@ namespace DotZLib if (data == null) throw new ArgumentNullException(); if (offset < 0 || count < 0) throw new ArgumentOutOfRangeException(); if ((offset+count) > data.Length) throw new ArgumentException(); - + int total = count; int inputIndex = offset; int err = 0; @@ -86,7 +86,7 @@ namespace DotZLib public override void Finish() { int err; - do + do { err = deflate(ref _ztream, (int)FlushTypes.Finish); OnDataAvailable(); -- cgit v1.2.3-55-g6feb