1
0
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:
Karl Heyes 2008-05-11 23:20:50 +00:00
parent f63e0d1437
commit 90b705986c

View File

@ -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++;
}