提交 e984b2af 编写于 作者: R Richard Levitte

If we're loading libz dynamically, and COMP_zlib() is called more than once,

only the first call would provide the correct result.
PR: 277
上级 70e96dcf
......@@ -208,11 +208,11 @@ COMP_METHOD *COMP_zlib(void)
= (inflateInit__ft) DSO_bind_func(zlib_dso,
"inflateInit_");
zlib_loaded++;
meth = &zlib_method;
}
}
#elif defined(ZLIB)
#endif
#if defined(ZLIB) || defined(ZLIB_SHARED)
meth = &zlib_method;
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册