mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
seg--
This commit is contained in:
parent
37be7ca0cd
commit
95e54ee15b
@ -2344,7 +2344,13 @@ SWITCH_DECLARE(int) switch_event_check_permission_list(switch_event_t *list, con
|
|||||||
{
|
{
|
||||||
const char *v;
|
const char *v;
|
||||||
int r = 0;
|
int r = 0;
|
||||||
int default_allow = switch_test_flag(list, EF_DEFAULT_ALLOW);
|
int default_allow = 0;
|
||||||
|
|
||||||
|
if (!list) {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
default_allow = switch_test_flag(list, EF_DEFAULT_ALLOW);
|
||||||
|
|
||||||
if (!list->headers) {
|
if (!list->headers) {
|
||||||
return default_allow;
|
return default_allow;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user