hgomez      01/09/03 04:30:31

  Modified:    src/native/mod_jk/apache1.3 mod_jk.c
  Log:
  BOOL is not a native type on platform others than Win32.
  Use int instead....
  
  Revision  Changes    Path
  1.12      +2 -2      jakarta-tomcat/src/native/mod_jk/apache1.3/mod_jk.c
  
  Index: mod_jk.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/native/mod_jk/apache1.3/mod_jk.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- mod_jk.c  2001/09/03 02:15:26     1.11
  +++ mod_jk.c  2001/09/03 11:30:31     1.12
  @@ -515,7 +515,7 @@
       s->headers_values   = NULL;
       s->num_headers      = 0;
       if(r->headers_in && ap_table_elts(r->headers_in)) {
  -        BOOL need_content_length_header = (s->content_length == 0);
  +        int need_content_length_header = (s->content_length == 0) ? JK_TRUE : 
JK_FALSE;
           array_header *t = ap_table_elts(r->headers_in);        
           if(t && t->nelts) {
               int i;
  @@ -536,7 +536,7 @@
                   }
                   if(need_content_length_header &&
                           !strncmp(s->headers_values[i],"content-length",14)) {
  -                    need_content_length_header = FALSE;
  +                    need_content_length_header = JK_FALSE;
                   }
               }
               /* Add a content-length = 0 header if needed. 
  
  
  

Reply via email to