httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: httpd-2.0/modules/experimental cache_storage.c
Date Fri, 15 Feb 2002 03:54:47 GMT
stoddard    02/02/14 19:54:47

  Modified:    modules/experimental cache_storage.c
  Log:
  Fix a nasty little bug that could be hosing mod_mem_cache as well as mod_disk_cache
  
  Revision  Changes    Path
  1.16      +1 -1      httpd-2.0/modules/experimental/cache_storage.c
  
  Index: cache_storage.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/cache_storage.c,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- cache_storage.c	8 Feb 2002 06:09:34 -0000	1.15
  +++ cache_storage.c	15 Feb 2002 03:54:47 -0000	1.16
  @@ -110,7 +110,7 @@
    */
   int cache_create_entity(request_rec *r, const char *types, char *url, apr_size_t size)
   {
  -    cache_handle_t *h = apr_pcalloc(r->pool, sizeof(h));
  +    cache_handle_t *h = apr_pcalloc(r->pool, sizeof(cache_handle_t));
       const char *next = types;
       const char *type;
       char *key;
  
  
  

Mime
View raw message