For some reason, the code in IValidateGzHeader was copied from zlib, when they could have just used it through the API... (Perhaps this is really old code from before the main zlib API had gzip support?)
Good idea - plZlibStream is only used by the patcher and that doesn't get tested much outside of TrollLand. (I already did a quick test with this change and the patcher seems to work.)
For some reason, the code in
IValidateGzHeader
was copied from zlib, when they could have just used it through the API... (Perhaps this is really old code from before the main zlib API had gzip support?)