Skip to content
Snippets Groups Projects
Commit c37cc5d3 authored by Sean Bright's avatar Sean Bright Committed by Friendly Automation
Browse files

channel: Short-circuit ast_channel_get_by_name() on empty arg.

We know that passing a NULL or empty argument to
ast_channel_get_by_name() will never result in a matching channel and
will always result in an error being emitted, so just short-circuit
out in that case.

ASTERISK-28219 #close

Change-Id: I88eadc748e9c6996fc17467b0a05881bbfd00bce
parent 04d00c20
No related branches found
No related tags found
1 merge request!48asterisk uplift to 18.11.2
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment