Yet more global-removal. The static variables in logging.c are now
[u/mdw/putty] / sshzlib.c
index ae60bb1..58069b6 100644 (file)
--- a/sshzlib.c
+++ b/sshzlib.c
@@ -956,6 +956,7 @@ void *zlib_decompress_init(void)
     dctx->currlentable = dctx->currdisttable = dctx->lenlentable = NULL;
     dctx->bits = 0;
     dctx->nbits = 0;
+    dctx->winpos = 0;
 
     return dctx;
 }