httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject cvs commit: httpd-2.0/server util_filter.c
Date Fri, 23 Nov 2001 11:07:52 GMT
brianp      01/11/23 03:07:52

  Modified:    server   util_filter.c
  Log:
  converted apr_pcalloc to apr_palloc for 15% reduction in run time of add_any_filter
  
  Revision  Changes    Path
  1.71      +1 -1      httpd-2.0/server/util_filter.c
  
  Index: util_filter.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/util_filter.c,v
  retrieving revision 1.70
  retrieving revision 1.71
  diff -u -r1.70 -r1.71
  --- util_filter.c	2001/11/23 01:24:18	1.70
  +++ util_filter.c	2001/11/23 11:07:51	1.71
  @@ -271,7 +271,7 @@
   
           if (node && node->frec) {
               apr_pool_t* p = r ? r->pool : c->pool;
  -            ap_filter_t *f = apr_pcalloc(p, sizeof(*f));
  +            ap_filter_t *f = apr_palloc(p, sizeof(*f));
               ap_filter_t **outf = r ? r_filters : c_filters;
   
               f->frec = node->frec;
  
  
  

Mime
View raw message