tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Gomez <hgo...@apache.org>
Subject Re: [PATCH] uri runtime info - avoid nameless entries
Date Fri, 06 Feb 2004 14:51:40 GMT
Günter Knauf a écrit :

> Hi all,
> no comments yet to this??
> Guenter.
> 
> 
>>in mod_jk2, if invoked by the /jkstatus page,
>>jk2_worker_status_displayRuntimeType() displays always a nameless /
>>useless first line below the uri runtime info;
>>I'm asking me what entry that vould be, and if it is the right way to
>>suppress displaying it, or dig for what it is?
>>can perhaps someone enlighten me?
> 
> 
>>======================================================
>>--- jk_worker_status.c.origTue Feb 03 00:21:34 2004
>>+++ jk_worker_status.c      Wed Feb 04 22:03:24 2004
>>@@ -282,6 +282,10 @@
>>         if( mbean==NULL || mbean->getAttributeInfo==NULL )
>>             continue;
> 
> 
>>+        /* Don't display nameless */
>>+        if( mbean->localName == NULL || (strlen(mbean->localName) == 0) )
>>+            continue;
>>+
>>         if( mbean->getAttribute == NULL )
>>             continue;


Make sense, commited, thanks

---------------------------------------------------------------------
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