fix xml-rpc for thread status

This commit is contained in:
Ron Pedde 2005-11-07 06:13:10 +00:00
parent a82c564426
commit 230eaa0aba

View File

@ -70,7 +70,7 @@ void xml_get_stats(WS_CONNINFO *pwsc) {
while(pci) { while(pci) {
pss = ws_get_local_storage(pci); pss = ws_get_local_storage(pci);
if(pss) { if(pss) {
ws_writefd(pwsc,"<id>%d</id><sourceip>%s</sourceip><action>%s</action>", ws_writefd(pwsc,"<thread><id>%d</id><sourceip>%s</sourceip><action>%s</action></thread>",
pss->thread,pss->host,pss->what); pss->thread,pss->host,pss->what);
} }
pci=ws_thread_enum_next(config.server,&wste); pci=ws_thread_enum_next(config.server,&wste);