summaryrefslogtreecommitdiffstats
path: root/lib/libz/deflate.c
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2002-03-11 22:36:26 +0000
committergreen <green@FreeBSD.org>2002-03-11 22:36:26 +0000
commit7ca574f59c0cfa1c18dfad38e2695df7c5356ccd (patch)
treebff2461c1653758bf9b8443f106c8627f9369418 /lib/libz/deflate.c
parent08dc078a21e50f8bfdb56683ae019a8081cf84b5 (diff)
downloadFreeBSD-src-7ca574f59c0cfa1c18dfad38e2695df7c5356ccd.zip
FreeBSD-src-7ca574f59c0cfa1c18dfad38e2695df7c5356ccd.tar.gz
Fix conflicts.
Diffstat (limited to 'lib/libz/deflate.c')
-rw-r--r--lib/libz/deflate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libz/deflate.c b/lib/libz/deflate.c
index 57fbe9a..0866eca 100644
--- a/lib/libz/deflate.c
+++ b/lib/libz/deflate.c
@@ -1,5 +1,5 @@
/* deflate.c -- compress data using the deflation algorithm
- * Copyright (C) 1995-1998 Jean-loup Gailly.
+ * Copyright (C) 1995-2002 Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
*/
@@ -55,7 +55,7 @@ __FBSDID("$FreeBSD$");
#include "deflate.h"
const char deflate_copyright[] =
- " deflate 1.1.3 Copyright 1995-1998 Jean-loup Gailly ";
+ " deflate 1.1.4 Copyright 1995-2002 Jean-loup Gailly ";
/*
If you use the zlib library in a product, an acknowledgment is welcome
in the documentation of your product. If for some reason you cannot
@@ -245,7 +245,7 @@ int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy,
windowBits = -windowBits;
}
if (memLevel < 1 || memLevel > MAX_MEM_LEVEL || method != Z_DEFLATED ||
- windowBits < 8 || windowBits > 15 || level < 0 || level > 9 ||
+ windowBits < 9 || windowBits > 15 || level < 0 || level > 9 ||
strategy < 0 || strategy > Z_HUFFMAN_ONLY) {
return Z_STREAM_ERROR;
}
OpenPOWER on IntegriCloud