From: Jeff Trawick Date: Tue, 9 Jan 2001 05:03:42 +0000 (+0000) Subject: use the apr_status_t instead of errno X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f3e2e37eaac29472ed9b71af79862eaa09b56b0;p=apache use the apr_status_t instead of errno git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87629 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/aaa/mod_auth_digest.c b/modules/aaa/mod_auth_digest.c index d230c4a485..b7601107f1 100644 --- a/modules/aaa/mod_auth_digest.c +++ b/modules/aaa/mod_auth_digest.c @@ -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; }