summaryrefslogtreecommitdiff
path: root/infblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'infblock.c')
-rw-r--r--infblock.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/infblock.c b/infblock.c
index 4d81d72..7e9c7af 100644
--- a/infblock.c
+++ b/infblock.c
@@ -82,7 +82,7 @@ uLongf *c;
82 s->read = s->write = s->window; 82 s->read = s->write = s->window;
83 if (s->checkfn != Z_NULL) 83 if (s->checkfn != Z_NULL)
84 z->adler = s->check = (*s->checkfn)(0L, (const Bytef *)Z_NULL, 0); 84 z->adler = s->check = (*s->checkfn)(0L, (const Bytef *)Z_NULL, 0);
85 Trace((stderr, "inflate: blocks reset\n")); 85 Tracev((stderr, "inflate: blocks reset\n"));
86} 86}
87 87
88 88
@@ -104,7 +104,7 @@ uInt w;
104 s->end = s->window + w; 104 s->end = s->window + w;
105 s->checkfn = c; 105 s->checkfn = c;
106 s->mode = TYPE; 106 s->mode = TYPE;
107 Trace((stderr, "inflate: blocks allocated\n")); 107 Tracev((stderr, "inflate: blocks allocated\n"));
108 inflate_blocks_reset(s, z, Z_NULL); 108 inflate_blocks_reset(s, z, Z_NULL);
109 return s; 109 return s;
110} 110}
@@ -139,7 +139,7 @@ int r;
139 switch (t >> 1) 139 switch (t >> 1)
140 { 140 {
141 case 0: /* stored */ 141 case 0: /* stored */
142 Trace((stderr, "inflate: stored block%s\n", 142 Tracev((stderr, "inflate: stored block%s\n",
143 s->last ? " (last)" : "")); 143 s->last ? " (last)" : ""));
144 DUMPBITS(3) 144 DUMPBITS(3)
145 t = k & 7; /* go to byte boundary */ 145 t = k & 7; /* go to byte boundary */
@@ -147,7 +147,7 @@ int r;
147 s->mode = LENS; /* get length of stored block */ 147 s->mode = LENS; /* get length of stored block */
148 break; 148 break;
149 case 1: /* fixed */ 149 case 1: /* fixed */
150 Trace((stderr, "inflate: fixed codes block%s\n", 150 Tracev((stderr, "inflate: fixed codes block%s\n",
151 s->last ? " (last)" : "")); 151 s->last ? " (last)" : ""));
152 { 152 {
153 uInt bl, bd; 153 uInt bl, bd;
@@ -167,7 +167,7 @@ int r;
167 s->mode = CODES; 167 s->mode = CODES;
168 break; 168 break;
169 case 2: /* dynamic */ 169 case 2: /* dynamic */
170 Trace((stderr, "inflate: dynamic codes block%s\n", 170 Tracev((stderr, "inflate: dynamic codes block%s\n",
171 s->last ? " (last)" : "")); 171 s->last ? " (last)" : ""));
172 DUMPBITS(3) 172 DUMPBITS(3)
173 s->mode = TABLE; 173 s->mode = TABLE;
@@ -387,7 +387,7 @@ z_streamp z;
387 inflate_blocks_reset(s, z, Z_NULL); 387 inflate_blocks_reset(s, z, Z_NULL);
388 ZFREE(z, s->window); 388 ZFREE(z, s->window);
389 ZFREE(z, s); 389 ZFREE(z, s);
390 Trace((stderr, "inflate: blocks freed\n")); 390 Tracev((stderr, "inflate: blocks freed\n"));
391 return Z_OK; 391 return Z_OK;
392} 392}
393 393