summaryrefslogtreecommitdiffstats
path: root/modules/aaa
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2000-09-20 07:01:55 +0200
committerWilliam A. Rowe Jr <wrowe@apache.org>2000-09-20 07:01:55 +0200
commite986dbe9fb073eff30ab9e4bd934b57ba42a404d (patch)
tree4d03c9b8c768d7481f5967902e342c89d972d8eb /modules/aaa
parent Get mod_auth_dbm building using Apache's sdbmlib under WinNT. (diff)
downloadapache2-e986dbe9fb073eff30ab9e4bd934b57ba42a404d.tar.xz
apache2-e986dbe9fb073eff30ab9e4bd934b57ba42a404d.zip
Transposed return values between conditions, oops.
PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86258 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/aaa')
-rw-r--r--modules/aaa/mod_auth_dbm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/aaa/mod_auth_dbm.c b/modules/aaa/mod_auth_dbm.c
index 49dabab67d..eadddd84b1 100644
--- a/modules/aaa/mod_auth_dbm.c
+++ b/modules/aaa/mod_auth_dbm.c
@@ -171,11 +171,11 @@ static char *get_dbm_pw(request_rec *r, char *user, char *auth_dbmpwfile)
#ifdef WIN32 /* XXX: Same bad symbol here - need feature macro */
if (!(retval = dbm_open(&f, auth_dbmpwfile, O_RDONLY, 0664, r->pool))) {
- ap_log_rerror(APLOG_MARK, APLOG_ERR, errno, r,
+ ap_log_rerror(APLOG_MARK, APLOG_ERR, retval, r,
"could not open sdbm auth file: %s", auth_dbmpwfile);
#else
if (!(f = dbm_open(auth_dbmpwfile, O_RDONLY, 0664))) {
- ap_log_rerror(APLOG_MARK, APLOG_ERR, retval, r,
+ ap_log_rerror(APLOG_MARK, APLOG_ERR, errno, r,
"could not open dbm auth file: %s", auth_dbmpwfile);
#endif
return NULL;