apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject broken apr_brigade_cleanup?
Date Tue, 07 Dec 2004 16:15:54 GMT
apr_brigade_cleanup looks wrong:

APU_DECLARE(apr_status_t) apr_brigade_cleanup(void *data)
     apr_bucket_brigade *b = data;
     apr_bucket *e;

shouldn't it be:

     apr_bucket_brigade *b = (apr_bucket_brigade *)data;

why does it have (void *data) argument? why is this inconsistent with:

   APU_DECLARE(apr_status_t) apr_brigade_destroy(apr_bucket_brigade *b);

it seems to work fine on linux but on windows causes all kind of crashes.

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

View raw message