mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-02 15:13:14 +02:00
- Fixed zlib version check: 1.x is compatible with all 1.*, etc. (#0002966).
This commit is contained in:
@@ -1382,3 +1382,4 @@
|
||||
and Bock for tracing this down.
|
||||
- Fixed set::allowed-nickchars causing a segfault for some unknown charsets, rportered
|
||||
by avb (#0003069).
|
||||
- Fixed zlib version check: 1.x is compatible with all 1.*, etc. (#0002966).
|
||||
|
||||
+1
-1
@@ -907,7 +907,7 @@ static void do_version_check()
|
||||
#ifdef ZIP_LINKS
|
||||
runtime = zlibVersion();
|
||||
compiledfor = ZLIB_VERSION;
|
||||
if (strcasecmp(compiledfor, runtime))
|
||||
if (*compiledfor != *runtime)
|
||||
{
|
||||
version_check_logerror
|
||||
("Zlib version mismatch: compiled for '%s', library is '%s'",
|
||||
|
||||
Reference in New Issue
Block a user