tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hgo...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_status.c
Date Tue, 16 Mar 2004 08:47:25 GMT
hgomez      2004/03/16 00:47:25

  Modified:    jk/native2/common jk_worker_status.c
  Log:
  Supresses the output of the style when we are in text/plain mode
  
  Provided by Guenter Knauf
  
  Revision  Changes    Path
  1.58      +4 -1      jakarta-tomcat-connectors/jk/native2/common/jk_worker_status.c
  
  Index: jk_worker_status.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_worker_status.c,v
  retrieving revision 1.57
  retrieving revision 1.58
  diff -u -r1.57 -r1.58
  --- jk_worker_status.c	15 Mar 2004 11:05:26 -0000	1.57
  +++ jk_worker_status.c	16 Mar 2004 08:47:25 -0000	1.58
  @@ -953,7 +953,10 @@
                           
       s->head(env, s );
   
  -    s->jkprintf(env, s, "<style>%s</style>\n", DEFAULT_CSS );
  +    if( !(s->query_string != NULL &&
  +        strncmp( s->query_string, "qry=", 4) == 0 ) ) {
  +        s->jkprintf(env, s, "<style>%s</style>\n", DEFAULT_CSS );
  +    }
   
       /** Process the query string.
        */
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message