freeswitch-stable: bump to 1.8.6
[feed/telephony.git] / net / freeswitch-stable / patches / 420-mod_kazoo-correct-ei_init-check.patch
1 --- a/src/mod/event_handlers/mod_kazoo/kazoo_ei_utils.c
2 +++ b/src/mod/event_handlers/mod_kazoo/kazoo_ei_utils.c
3 @@ -519,7 +519,7 @@ switch_status_t create_acceptor() {
4 char ipbuf[48];
5 const char *ip_addr;
6
7 -#if ERLANG_MAJOR >= 10
8 +#if (ERLANG_MAJOR == 10 && ERLANG_MINOR >= 3) || ERLANG_MAJOR >= 11
9 ei_init();
10 #endif
11