summaryrefslogtreecommitdiff
path: root/examples/gzlog.h
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2012-07-08 17:01:13 -0700
committerMark Adler <madler@alumni.caltech.edu>2012-07-08 17:01:13 -0700
commitfb4e0599a5ddaef9eee726f786b9edef4943432b (patch)
tree6d73ba36fb267af597838d85cae86ca8188014f1 /examples/gzlog.h
parentaef4174dd2b95029e29e004f4d4cae684d396033 (diff)
downloadzlib-fb4e0599a5ddaef9eee726f786b9edef4943432b.tar.gz
zlib-fb4e0599a5ddaef9eee726f786b9edef4943432b.tar.bz2
zlib-fb4e0599a5ddaef9eee726f786b9edef4943432b.zip
Fix argument checks in gzlog_compress() and gzlog_write().
Diffstat (limited to 'examples/gzlog.h')
-rw-r--r--examples/gzlog.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/gzlog.h b/examples/gzlog.h
index c461426..4e093bc 100644
--- a/examples/gzlog.h
+++ b/examples/gzlog.h
@@ -1,6 +1,6 @@
1/* gzlog.h 1/* gzlog.h
2 Copyright (C) 2004, 2008 Mark Adler, all rights reserved 2 Copyright (C) 2004, 2008, 2012 Mark Adler, all rights reserved
3 version 2.0, 25 Apr 2008 3 version 2.1, 8 Jul 2012
4 4
5 This software is provided 'as-is', without any express or implied 5 This software is provided 'as-is', without any express or implied
6 warranty. In no event will the author be held liable for any damages 6 warranty. In no event will the author be held liable for any damages
@@ -27,6 +27,7 @@
27 Interface changed slightly in that now path is a prefix 27 Interface changed slightly in that now path is a prefix
28 Compression now occurs as needed during gzlog_write() 28 Compression now occurs as needed during gzlog_write()
29 gzlog_write() now always leaves the log file as valid gzip 29 gzlog_write() now always leaves the log file as valid gzip
30 2.1 8 Jul 2012 Fix argument checks in gzlog_compress() and gzlog_write()
30 */ 31 */
31 32
32/* 33/*