httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/standard mod_auth_dbm.c
Date Wed, 20 Sep 2000 05:01:55 GMT
wrowe       00/09/19 22:01:55

  Modified:    src/modules/standard mod_auth_dbm.c
  Log:
    Transposed return values between conditions, oops.
  
  Revision  Changes    Path
  1.17      +2 -2      apache-2.0/src/modules/standard/mod_auth_dbm.c
  
  Index: mod_auth_dbm.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_auth_dbm.c,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- mod_auth_dbm.c	2000/09/20 04:54:06	1.16
  +++ mod_auth_dbm.c	2000/09/20 05:01:55	1.17
  @@ -171,11 +171,11 @@
   
   #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;
  
  
  

Mime
View raw message