mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Fix: Corrected type detection logic for mixed-type <definition>s
This commit is contained in:
parent
fecc38452a
commit
c1c5bd02e3
@ -1038,7 +1038,7 @@ reportxml_t * reportxml_database_build_report(reportxml_database_t *db
|
||||
return reportxml_new();
|
||||
}
|
||||
|
||||
if (type != REPORTXML_NODE_TYPE__ERROR) {
|
||||
if (type == REPORTXML_NODE_TYPE__ERROR) {
|
||||
/* Now the hard part: find out what level we are. */
|
||||
child = reportxml_node_get_child(definition, 0);
|
||||
if (!child) {
|
||||
|
Loading…
Reference in New Issue
Block a user