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

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

wrowe       02/03/31 18:41:09

  Modified:    modules/filters mod_include.c
  Log:
    pointer subtraction yeilds a ssize_t, fix emit by notating the
    expression in terms of addition
  
  Revision  Changes    Path
  1.214     +1 -1      httpd-2.0/modules/filters/mod_include.c
  
  Index: mod_include.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/filters/mod_include.c,v
  retrieving revision 1.213
  retrieving revision 1.214
  diff -u -r1.213 -r1.214
  --- mod_include.c	29 Mar 2002 08:17:21 -0000	1.213
  +++ mod_include.c	1 Apr 2002 02:41:08 -0000	1.214
  @@ -866,7 +866,7 @@
       char  term = '\0';
   
       *tag_val = NULL;
  -    if (ctx->curr_tag_pos - ctx->combined_tag > ctx->tag_length) {
  +    if (ctx->curr_tag_pos > ctx->combined_tag + ctx->tag_length) {
           *tag = NULL;
           return;
       }