]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - sshzlib.c
Yet more global-removal. The static variables in logging.c are now
[PuTTY.git] / sshzlib.c
index ae60bb10dafdd55444c724e5209049c1d8c310a5..58069b60a8d6025efb605f047848a0cd14181e7a 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;
 }