mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2024-11-03 04:17:18 -05:00
Prefer crashing over no coredump
This commit is contained in:
parent
bcb097a16e
commit
6466b6ea19
@ -289,11 +289,6 @@ stream_get(const char *name)
|
||||
{
|
||||
struct stream *e;
|
||||
|
||||
if (!name || !name[0]) {
|
||||
log_alert("stream_get: empty name");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
TAILQ_FOREACH(e, &streams, entry) {
|
||||
if (0 == strcasecmp(e->name, name))
|
||||
return (e);
|
||||
|
Loading…
Reference in New Issue
Block a user