]> granicus.if.org Git - apache/commitdiff
use the apr_status_t instead of errno
authorJeff Trawick <trawick@apache.org>
Tue, 9 Jan 2001 05:03:42 +0000 (05:03 +0000)
committerJeff Trawick <trawick@apache.org>
Tue, 9 Jan 2001 05:03:42 +0000 (05:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87629 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_auth_digest.c

index d230c4a4857fdef736e1076bf09da5d60bcf0721..b7601107f1165f0b864c897fbe9a86e2bafd48a3 100644 (file)
@@ -1339,7 +1339,7 @@ static const char *get_hash(request_rec *r, const char *user,
     apr_status_t sts;
 
     if ((sts = ap_pcfg_openfile(&f, r->pool, auth_pwfile)) != APR_SUCCESS) {
-       ap_log_rerror(APLOG_MARK, APLOG_ERR, errno, r,
+       ap_log_rerror(APLOG_MARK, APLOG_ERR, sts, r,
                      "Digest: Could not open password file: %s", auth_pwfile);
        return NULL;
     }
@@ -1775,7 +1775,7 @@ static apr_table_t *groups_for_user(request_rec *r, const char *user,
     apr_status_t sts;
 
     if ((sts = ap_pcfg_openfile(&f, r->pool, grpfile)) != APR_SUCCESS) {
-       ap_log_rerror(APLOG_MARK, APLOG_ERR, errno, r,
+       ap_log_rerror(APLOG_MARK, APLOG_ERR, sts, r,
                      "Digest: Could not open group file: %s", grpfile);
        return NULL;
     }