You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jw...@apache.org on 2002/03/03 01:36:07 UTC

cvs commit: httpd-2.0/modules/filters mod_include.h

jwoolley    02/03/02 16:36:07

  Modified:    modules/filters mod_include.h
  Log:
  Paren-protect macro arguments when used.  (This will be needed later when
  the bucket api gets changed.)
  
  Submitted by: Brian Pane
  
  Revision  Changes    Path
  1.30      +12 -12    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.29
  retrieving revision 1.30
  diff -u -d -u -r1.29 -r1.30
  --- mod_include.h	23 Feb 2002 20:56:36 -0000	1.29
  +++ mod_include.h	3 Mar 2002 00:36:07 -0000	1.30
  @@ -201,18 +201,18 @@
    *   than APR_SUCCESS, then you should return this value up the
    *   call chain.
    */
  -#define SPLIT_AND_PASS_PRETAG_BUCKETS(brgd, cntxt, next, rc)      \
  -if ((APR_BRIGADE_EMPTY(cntxt->ssi_tag_brigade)) &&                \
  -    (cntxt->head_start_bucket != NULL)) {                         \
  -    apr_bucket_brigade *tag_plus;                                 \
  -                                                                  \
  -    tag_plus = apr_brigade_split(brgd, cntxt->head_start_bucket); \
  -    if (cntxt->output_flush) {                                    \
  -        APR_BRIGADE_INSERT_TAIL(brgd, apr_bucket_flush_create()); \
  -    }                                                             \
  -    rc = ap_pass_brigade(next, brgd);                             \
  -    cntxt->bytes_parsed = 0;                                      \
  -    brgd = tag_plus;                                              \
  +#define SPLIT_AND_PASS_PRETAG_BUCKETS(brgd, cntxt, next, rc)          \
  +if ((APR_BRIGADE_EMPTY((cntxt)->ssi_tag_brigade)) &&                  \
  +    ((cntxt)->head_start_bucket != NULL)) {                           \
  +    apr_bucket_brigade *tag_plus;                                     \
  +                                                                      \
  +    tag_plus = apr_brigade_split((brgd), (cntxt)->head_start_bucket); \
  +    if ((cntxt)->output_flush) {                                      \
  +        APR_BRIGADE_INSERT_TAIL((brgd), apr_bucket_flush_create());   \
  +    }                                                                 \
  +    (rc) = ap_pass_brigade((next), (brgd));                           \
  +    (cntxt)->bytes_parsed = 0;                                        \
  +    (brgd) = tag_plus;                                                \
   }