]> granicus.if.org Git - apache/commitdiff
Rework DSO error reporting to be more flexible & informative.
authorBrian Havard <bjh@apache.org>
Wed, 31 May 2000 02:30:30 +0000 (02:30 +0000)
committerBrian Havard <bjh@apache.org>
Wed, 31 May 2000 02:30:30 +0000 (02:30 +0000)
This patch covers os/2, unix & win32. Other platforms still need some
adjustment (BeOS, AIX).

Reviewed by: rbb, gstein

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

modules/mappers/mod_so.c

index c1389b540f1af7f71fc8a13407db381231e7aaf6..fa7c46035fdfd42e3fafdf91316bb46290d22b18 100644 (file)
@@ -260,7 +260,7 @@ static const char *load_module(cmd_parms *cmd, void *dummy,
 
         return ap_pstrcat(cmd->pool, "Cannot load ", szModuleFile,
                          " into server: ",
-                         ap_strerror(status, my_error, sizeof(my_error)),
+                         ap_dso_error(modhandle, my_error, sizeof(my_error)),
                          NULL);
     }
     ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0, NULL,