Show idle threads in thread status

This commit is contained in:
Ron Pedde 2005-11-15 07:41:50 +00:00
parent a9e2d3a1b5
commit 51274d7b03

View File

@ -1029,7 +1029,7 @@ void config_emit_threadstatus(WS_CONNINFO *pwsc, void *value, char *arg) {
pss = ws_get_local_storage(pci);
if(pss) {
ws_writefd(pwsc,"<tr><td>%d</td><td>%d</td><td>%s</td><td>%s</td></tr>\n",
pss->thread,pss->session,pss->host,pss->what);
pss->thread,pss->session,pss->host,pss->what ? pss->what : "Idle");
}
pci=ws_thread_enum_next(config.server,&wste);
}