From 7baa3d795c87c11550f1686488c968320428cbf9 Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 22 Jun 2012 15:53:45 +0200 Subject: Switch to zlib 1.2.7 --- zlib/contrib/dotzlib/DotZLib/Deflater.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'zlib/contrib/dotzlib/DotZLib/Deflater.cs') diff --git a/zlib/contrib/dotzlib/DotZLib/Deflater.cs b/zlib/contrib/dotzlib/DotZLib/Deflater.cs index d7b8dccca..c2477925b 100644 --- a/zlib/contrib/dotzlib/DotZLib/Deflater.cs +++ b/zlib/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