]> granicus.if.org Git - apache/commitdiff
Make module loading error messages more informative
authorIan Holsman <ianh@apache.org>
Mon, 19 Aug 2002 20:40:08 +0000 (20:40 +0000)
committerIan Holsman <ianh@apache.org>
Mon, 19 Aug 2002 20:40:08 +0000 (20:40 +0000)
Bug #11213
Obtained from: Ian Darwin <ian779@darwinsys.com>

Reviewed by:   Ian Holsman

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96449 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
server/config.c

diff --git a/CHANGES b/CHANGES
index 9e864d33492ae55305525167018963e7dd05902c..edb465140963dd27cfeca3a4a0da93fca9d89857 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,8 @@
 Changes with Apache 2.0.41
 
+  *) Bug #11213.. make module loading error messages more informative 
+     [Ian Darwin <Ian779@darwinsys.com>]
+
   *) thread safety & proxy-ftp [Alexey Panchenko alexey@liwest.ru, Ian Holsman]
 
   *) mod_disk_cache works much better. This module should still
index 4a0a6ea0d0776cd6feff4f8b52adc1db579abd3f..1ca924eea85fa7a4ecf88d2680744ae44e385805 100644 (file)
@@ -451,7 +451,9 @@ AP_DECLARE(void) ap_add_module(module *m, apr_pool_t *p)
     if (m->version != MODULE_MAGIC_NUMBER_MAJOR) {
         ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
                      "%s: module \"%s\" is not compatible with this "
-                     "version of Apache.", ap_server_argv0, m->name);
+                     "version of Apache (found %d, need %d).",
+                     ap_server_argv0, m->name, m->version,
+                     MODULE_MAGIC_NUMBER_MAJOR);
         ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
                      "Please contact the vendor for the correct version.");
         exit(1);