httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/lib apr_pools.c
Date Sun, 21 May 2000 05:32:15 GMT
manoj       00/05/20 22:32:15

  Modified:    src/lib/apr/lib apr_pools.c
  Log:
  In ap_run_cleanup(), swap the actual running of the cleanup and
  ap_kill_cleanup. This allows some simplification.
  
  Revision  Changes    Path
  1.53      +1 -4      apache-2.0/src/lib/apr/lib/apr_pools.c
  
  Index: apr_pools.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/lib/apr_pools.c,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- apr_pools.c	2000/05/21 05:31:05	1.52
  +++ apr_pools.c	2000/05/21 05:32:13	1.53
  @@ -613,11 +613,8 @@
   API_EXPORT(ap_status_t) ap_run_cleanup(ap_pool_t *p, void *data,
   				 ap_status_t (*cleanup) (void *))
   {
  -    ap_status_t rv;
  -
  -    rv = (*cleanup) (data);
       ap_kill_cleanup(p, data, cleanup);
  -    return rv;
  +    return (*cleanup) (data);
   }
   
   static void run_cleanups(struct cleanup *c)
  
  
  

Mime
View raw message