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:
parent
bcb097a16e
commit
6466b6ea19
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user