httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/main util_filter.c
Date Mon, 14 Aug 2000 17:50:03 GMT
trawick     00/08/14 10:50:03

  Modified:    src/main util_filter.c
  Log:
  When ap_register_filter() registers a cleanup function, specify
  apr_null_cleanup() instead of NULL to indicate that no child
  cleanup is desired.  (With NULL, we branch to zero.)
  
  Revision  Changes    Path
  1.6       +1 -1      apache-2.0/src/main/util_filter.c
  
  Index: util_filter.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/util_filter.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- util_filter.c	2000/08/12 23:59:13	1.5
  +++ util_filter.c	2000/08/14 17:50:02	1.6
  @@ -113,7 +113,7 @@
       frec->next = registered_filters;
       registered_filters = frec;
   
  -    apr_register_cleanup(FILTER_POOL, NULL, filter_cleanup, NULL);
  +    apr_register_cleanup(FILTER_POOL, NULL, filter_cleanup, apr_null_cleanup);
   }
   
   API_EXPORT(void) ap_add_filter(const char *name, void *ctx, request_rec *r)
  
  
  

Mime
View raw message