mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Update: Made norec parameter optional
This commit is contained in:
parent
6f8270dcfb
commit
5d4430a645
@ -767,7 +767,7 @@ static int __attach_copy_of_node_or_definition(reportxml_node_t *parent, reportx
|
||||
if (depth >= 2) {
|
||||
definition = reportxml_node_get_attribute(node, "definition");
|
||||
if (definition) {
|
||||
if (strcmp(definition, norec) == 0) {
|
||||
if (norec != NULL && strcmp(definition, norec) == 0) {
|
||||
/* we've already proccessed this. No need to look it up. */
|
||||
free(definition);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user