1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-12-04 14:46:31 -05:00

Prefer crashing over no coredump

This commit is contained in:
Moritz Grimm 2017-09-25 19:47:24 +02:00
parent bcb097a16e
commit 6466b6ea19

View File

@ -289,11 +289,6 @@ stream_get(const char *name)
{ {
struct stream *e; struct stream *e;
if (!name || !name[0]) {
log_alert("stream_get: empty name");
exit(1);
}
TAILQ_FOREACH(e, &streams, entry) { TAILQ_FOREACH(e, &streams, entry) {
if (0 == strcasecmp(e->name, name)) if (0 == strcasecmp(e->name, name))
return (e); return (e);