mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-03 09:56:00 -05:00
fix xml-rpc for thread status
This commit is contained in:
parent
a82c564426
commit
230eaa0aba
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user