apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@locus.apache.org
Subject cvs commit: apr-util/src/dbm/sdbm sdbm.c
Date Wed, 06 Dec 2000 19:25:11 GMT
gstein      00/12/06 11:25:09

  Modified:    src/dbm/sdbm sdbm.c
  Log:
  close the correct file
  
  Revision  Changes    Path
  1.2       +1 -1      apr-util/src/dbm/sdbm/sdbm.c
  
  Index: sdbm.c
  ===================================================================
  RCS file: /home/cvs/apr-util/src/dbm/sdbm/sdbm.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -u -r1.1 -r1.2
  --- sdbm.c	2000/12/02 16:13:49	1.1
  +++ sdbm.c	2000/12/06 19:25:04	1.2
  @@ -203,7 +203,7 @@
               (void) apr_close(db->dirf);
           if (db->pagf != NULL) {
               (void) sdbm_unlock(db);
  -            (void) apr_close(db->dirf);
  +            (void) apr_close(db->pagf);
           }
           free(db);
           return status;
  
  
  

Mime
View raw message