Commit 90b70598 authored by Karl Heyes's avatar Karl Heyes

sanity check for unspecifed url

svn path=/icecast/trunk/icecast/; revision=14866
parent f63e0d14
......@@ -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++;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment