httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/lib apr_hash.c
Date Fri, 19 May 2000 23:08:29 GMT
rbb         00/05/19 16:08:28

  Modified:    src/lib/apr/lib apr_hash.c
  Log:
  Fix a bug in the hash code.  I can't see how this was ever working.
  
  Revision  Changes    Path
  1.3       +1 -1      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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- apr_hash.c	2000/05/09 18:56:12	1.2
  +++ apr_hash.c	2000/05/19 23:08:27	1.3
  @@ -130,7 +130,7 @@
   API_EXPORT(ap_hash_t *) ap_make_hash(ap_pool_t *pool)
   {
       ap_hash_t *ht;
  -    ht = ap_palloc(ht->pool, sizeof(*ht));
  +    ht = ap_palloc(pool, sizeof(ap_hash_t));
       ht->pool = pool;
       ht->count = 0;
       ht->max = INITIAL_MAX;
  
  
  

Mime
View raw message