On Mon, Sep 03, 2001 at 12:59:43AM -0700, Brian Pane wrote:
> Yep, that's a real bug on 245.  Here's a patch:
> 
> Index: modules/filters/mod_include.c
> ===================================================================
> RCS file: /home/cvspublic/httpd-2.0/modules/filters/mod_include.c,v
> retrieving revision 1.141
> diff -u -r1.141 mod_include.c
> --- modules/filters/mod_include.c    2001/09/02 17:44:39    1.141
> +++ modules/filters/mod_include.c    2001/09/03 07:58:56
> @@ -242,11 +242,10 @@
>          }
>  
>          if (ctx->output_now) {
> -            apr_size_t start_index;
>              apr_bucket *start_bucket;
>              if (ctx->head_start_index > 0) {
>                  start_bucket = ctx->head_start_bucket;
> -                apr_bucket_split(start_bucket, start_index);
> +                apr_bucket_split(start_bucket, ctx->head_start_index);
>                  start_bucket = APR_BUCKET_NEXT(start_bucket);
>                  ctx->head_start_index = 0;
>                  ctx->head_start_bucket = start_bucket;

I thought that was the solution.  Committed.  Thanks.  -- justin

Reply via email to