apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@apache.org
Subject cvs commit: apr-util/dbm/sdbm sdbm.c
Date Wed, 24 Jan 2001 09:46:04 GMT
gstein      01/01/24 01:46:04

  Modified:    dbm/sdbm sdbm.c
  Log:
  -1 isn't an apr_status_t value
  
  Revision  Changes    Path
  1.6       +2 -1      apr-util/dbm/sdbm/sdbm.c
  
  Index: sdbm.c
  ===================================================================
  RCS file: /home/cvs/apr-util/dbm/sdbm/sdbm.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -u -r1.5 -r1.6
  --- sdbm.c	2001/01/23 00:40:00	1.5
  +++ sdbm.c	2001/01/24 09:46:03	1.6
  @@ -254,7 +254,8 @@
   
   	if (getpage(db, exhash(key)) == APR_SUCCESS) {
   		if (!delpair(db->pagbuf, key))
  -			return -1;
  +                        /* ### should we define some APRUTIL codes? */
  +			return APR_EGENERAL;
   /*
    * update the page file
    */
  
  
  

Mime
View raw message