httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: httpd-2.0/modules/ldap util_ldap.c
Date Thu, 26 Aug 2004 16:46:55 GMT
bnicholes    2004/08/26 09:46:55

  Modified:    modules/ldap util_ldap.c
  Log:
  Preserve the return value from the apr_stat() call so that it can be displayed in the error
log message. (Done right this time)
  
  Revision  Changes    Path
  1.11      +3 -3      httpd-2.0/modules/ldap/util_ldap.c
  
  Index: util_ldap.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ldap/util_ldap.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- util_ldap.c	26 Aug 2004 15:24:51 -0000	1.10
  +++ util_ldap.c	26 Aug 2004 16:46:55 -0000	1.11
  @@ -1060,9 +1060,9 @@
       if (st->cert_auth_file && 
           ((rv = apr_stat (&finfo, st->cert_auth_file, APR_FINFO_MIN, cmd->pool))
!= APR_SUCCESS))
       {
  -        ap_log_error(APLOG_MARK, APLOG_ERR, 0, cmd->server, 
  -                     "LDAP: Could not open SSL trusted certificate authority file - %s
error: %d", 
  -                     st->cert_auth_file == NULL ? file : st->cert_auth_file, rv);
  +        ap_log_error(APLOG_MARK, APLOG_ERR, rv, cmd->server, 
  +                     "LDAP: Could not open SSL trusted certificate authority file - %s",

  +                     st->cert_auth_file == NULL ? file : st->cert_auth_file);
           return "Invalid file path";
       }
   
  
  
  

Mime
View raw message