Commit 6466b6ea authored by Moritz Grimm's avatar Moritz Grimm
Browse files

Prefer crashing over no coredump

parent bcb097a1
......@@ -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);
......
Supports Markdown
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