]> granicus.if.org Git - apache/commitdiff
Use ap_dso_error() instead of ap_strerror() when ap_dso_sym() fails.
authorJeff Trawick <trawick@apache.org>
Sun, 30 Jul 2000 02:03:42 +0000 (02:03 +0000)
committerJeff Trawick <trawick@apache.org>
Sun, 30 Jul 2000 02:03:42 +0000 (02:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85946 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_so.c

index 7d192d923580fd8ae635a438f94c1cb48ce0d15e..829f49c213ff2cd24e4b250c848e96deaba7b2ae 100644 (file)
@@ -274,7 +274,7 @@ static const char *load_module(cmd_parms *cmd, void *dummy,
 
        return ap_pstrcat(cmd->pool, "Can't locate API module structure `",
                          modname, "' in file ", szModuleFile, ": ", 
-                         ap_strerror(status, my_error, sizeof(my_error)),
+                         ap_dso_error(modhandle, my_error, sizeof(my_error)),
                          NULL);
     }
     modp = (module*) modsym;