httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: httpd-2.0/modules/filters mod_include.h
Date Fri, 03 Aug 2001 03:41:51 GMT
rbb         01/08/02 20:41:51

  Modified:    modules/filters mod_include.h
  Log:
  Handle the ap_pass_brigade inside the SPLIT_BRIGADE... macro.
  
  Revision  Changes    Path
  1.19      +5 -1      httpd-2.0/modules/filters/mod_include.h
  
  Index: mod_include.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/filters/mod_include.h,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- mod_include.h	2001/04/25 17:07:40	1.18
  +++ mod_include.h	2001/08/03 03:41:51	1.19
  @@ -187,9 +187,13 @@
   if ((APR_BRIGADE_EMPTY(cntxt->ssi_tag_brigade)) &&                \
       (cntxt->head_start_bucket != NULL)) {                         \
       apr_bucket_brigade *tag_plus;                                 \
  +    int rv;                                                       \
                                                                     \
       tag_plus = apr_brigade_split(brgd, cntxt->head_start_bucket); \
  -    ap_pass_brigade(next, brgd);                                  \
  +    rv = ap_pass_brigade(next, brgd);                             \
  +    if (rv != APR_SUCCESS) {                                      \
  +        return rv;                                                \
  +    }                                                             \
       cntxt->bytes_parsed = 0;                                      \
       brgd = tag_plus;                                              \
   }
  
  
  

Mime
View raw message