httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/standard mod_so.c
Date Thu, 27 Apr 2000 04:15:50 GMT
dougm       00/04/26 21:15:49

  Modified:    src/modules/standard mod_so.c
  Log:
  report dso_error if any
  
  Revision  Changes    Path
  1.14      +4 -4      apache-2.0/src/modules/standard/mod_so.c
  
  Index: mod_so.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_so.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- mod_so.c	2000/04/14 15:59:10	1.13
  +++ mod_so.c	2000/04/27 04:15:48	1.14
  @@ -249,11 +249,11 @@
        * Load the file into the Apache address space
        */
       if ((stat = ap_dso_load(&modhandle, szModuleFile, cmd->pool )) != APR_SUCCESS)
{
  -	    const char *my_error = ap_os_dso_error();
  +        const char *my_error = ap_os_dso_error();
           return ap_pstrcat (cmd->pool, "Cannot load ", szModuleFile,
  -			" into server: ", 
  -			"(reason unknown)",
  -			NULL);
  +                           " into server: ", 
  +                           my_error ? my_error : "(reason unknown)",
  +                           NULL);
       }
       ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0, NULL,
   		"loaded module %s", modname);
  
  
  

Mime
View raw message