httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/lib apr_hash.c
Date Thu, 13 Jul 2000 20:58:51 GMT
gstein      00/07/13 13:58:49

  Modified:    src/lib/apr/lib apr_hash.c
  Log:
  fix deletion: it didn't decrement the count of items in the hash
  
  Revision  Changes    Path
  1.7       +1 -0      apache-2.0/src/lib/apr/lib/apr_hash.c
  
  Index: apr_hash.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/lib/apr_hash.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- apr_hash.c	2000/07/13 12:06:48	1.6
  +++ apr_hash.c	2000/07/13 20:58:47	1.7
  @@ -276,6 +276,7 @@
           if (!val) {
               /* delete entry */
               *hep = (*hep)->next;
  +            --ht->count;
           }
           else {
               /* replace entry */
  
  
  

Mime
View raw message