From 443c529f9fb7de4e695f1122f2850dbed015460f Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Thu, 20 May 2004 20:37:01 +0000 Subject: [PATCH] cvs test + win32 ssl/zip library version check error msgdshfsdhsd --- src/ircd.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/ircd.c b/src/ircd.c index 6c9ccb72e..cf8a7024f 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -816,6 +816,9 @@ int error = 0; #ifndef _WIN32 fprintf(stderr, "[!!!] OpenSSL version mismatch: compiled for '%s', library is '%s'\n", compiledfor, runtime); +#else + win_log("[!!!] OpenSSL version mismatch: compiled for '%s', library is '%s'\n", + compiledfor, runtime); #endif error=1; } @@ -828,6 +831,9 @@ int error = 0; #ifndef _WIN32 fprintf(stderr, "[!!!] Zlib version mismatch: compiled for '%s', library is '%s'\n", compiledfor, runtime); +#else + win_log("[!!!] Zlib version mismatch: compiled for '%s', library is '%s'\n", + compiledfor, runtime); #endif error = 1; } @@ -839,6 +845,12 @@ int error = 0; "Make sure you don't have multiple versions of openssl or zlib installed (eg: " "one in /usr and one in /usr/local). And, if you recently upgraded them, " "be sure to recompile Unreal.\n"); +#else + win_log("[!!!] Header<->library mismatches can make UnrealIRCd *CRASH*! " + "Make sure you don't have multiple versions of openssl or zlib installed (eg: " + "one in /usr and one in /usr/local). And, if you recently upgraded them, " + "be sure to recompile Unreal.\n"); + win_error(); #endif tainted = 1; }