]> granicus.if.org Git - apache/commitdiff
Preserve the return value from the apr_stat() call so that it can be displayed in...
authorBradley Nicholes <bnicholes@apache.org>
Thu, 26 Aug 2004 16:46:55 +0000 (16:46 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Thu, 26 Aug 2004 16:46:55 +0000 (16:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104820 13f79535-47bb-0310-9956-ffa450edef68

modules/ldap/util_ldap.c

index 08bcb30c9e74bbe6ccdab5959bc0ec3b7ff0f719..c579bf3a662e3e1f167a64e4b622e8c6c8bd4253 100644 (file)
@@ -1060,9 +1060,9 @@ static const char *util_ldap_set_cert_auth(cmd_parms *cmd, void *dummy, const ch
     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";
     }