summaryrefslogtreecommitdiff
path: root/gzio.c
diff options
context:
space:
mode:
Diffstat (limited to 'gzio.c')
-rw-r--r--gzio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gzio.c b/gzio.c
index 1f5e130..7a3d05a 100644
--- a/gzio.c
+++ b/gzio.c
@@ -3,7 +3,7 @@
3 * For conditions of distribution and use, see copyright notice in zlib.h 3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */ 4 */
5 5
6/* $Id: gzio.c,v 1.6 1995/04/30 19:52:21 jloup Exp $ */ 6/* $Id: gzio.c,v 1.7 1995/05/02 12:22:08 jloup Exp $ */
7 7
8#include <stdio.h> 8#include <stdio.h>
9 9
@@ -128,7 +128,7 @@ local gzFile gz_open (path, mode, fd)
128 128
129 if (s->mode == 'w') { 129 if (s->mode == 'w') {
130 err = deflateInit2(&(s->stream), Z_DEFAULT_COMPRESSION, 130 err = deflateInit2(&(s->stream), Z_DEFAULT_COMPRESSION,
131 DEFLATED, -MAX_WBITS, MAX_MEM_LEVEL, 0); 131 DEFLATED, -MAX_WBITS, DEF_MEM_LEVEL, 0);
132 /* windowBits is passed < 0 to suppress zlib header */ 132 /* windowBits is passed < 0 to suppress zlib header */
133 133
134 s->stream.next_out = s->outbuf = ALLOC(Z_BUFSIZE); 134 s->stream.next_out = s->outbuf = ALLOC(Z_BUFSIZE);
@@ -221,7 +221,7 @@ gzFile gzdopen (fd, mode)
221 char *mode; 221 char *mode;
222{ 222{
223 char name[20]; 223 char name[20];
224 sprintf(name, "_fd:%d_", fd); /* for debugging */ 224 sprintf(name, "<fd:%d>", fd); /* for debugging */
225 225
226 return gz_open (name, mode, fd); 226 return gz_open (name, mode, fd);
227} 227}