mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-01-03 14:56:34 -05:00
sanity check for unspecifed url
svn path=/icecast/trunk/icecast/; revision=14866
This commit is contained in:
parent
f63e0d1437
commit
90b705986c
@ -918,6 +918,8 @@ static void _parse_directory(xmlDocPtr doc, xmlNodePtr node,
|
||||
if (tmp) xmlFree(tmp);
|
||||
}
|
||||
} while ((node = node->next));
|
||||
if (configuration->yp_url [configuration->num_yp_directories] == NULL)
|
||||
return;
|
||||
configuration->num_yp_directories++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user