hgomez      2004/02/06 06:51:25

  Modified:    jk/native2/common jk_worker_status.c
  Log:
  Avoid display nameless beans.
  
  Provided by Gunter Knauf
  
  Revision  Changes    Path
  1.47      +3 -0      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.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- jk_worker_status.c        2 Feb 2004 18:21:08 -0000       1.46
  +++ jk_worker_status.c        6 Feb 2004 14:51:25 -0000       1.47
  @@ -288,6 +288,9 @@
           if( strncmp( type, mbean->type, typeLen ) != 0 )
               continue;
   
  +        if( mbean->localName == NULL || (strlen(mbean->localName) == 0) )
  +            continue;
  +
           if( needHeader ) {
               s->jkprintf(env, s, "<H3>%s runtime info</H3>\n", JK_CHECK_NULL(type) );
               s->jkprintf(env, s, "<p>%s information, using getAttribute() </p>\n", 
JK_CHECK_NULL(type) );
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to