fix compile error on windows
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14934 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
22bb9e023b
commit
780e8e98aa
|
@ -79,9 +79,10 @@ SWITCH_STANDARD_APP(bcast_function)
|
||||||
char *mcast_port_str = "34567";
|
char *mcast_port_str = "34567";
|
||||||
const char *esf_broadcast_ip = NULL, *var;
|
const char *esf_broadcast_ip = NULL, *var;
|
||||||
switch_codec_implementation_t read_impl = {0};
|
switch_codec_implementation_t read_impl = {0};
|
||||||
switch_core_session_get_read_impl(session, &read_impl);
|
|
||||||
int mcast_ttl = 1;
|
int mcast_ttl = 1;
|
||||||
|
|
||||||
|
switch_core_session_get_read_impl(session, &read_impl);
|
||||||
|
|
||||||
if (!switch_strlen_zero((char *) data)) {
|
if (!switch_strlen_zero((char *) data)) {
|
||||||
mydata = switch_core_session_strdup(session, data);
|
mydata = switch_core_session_strdup(session, data);
|
||||||
assert(mydata != NULL);
|
assert(mydata != NULL);
|
||||||
|
|
Loading…
Reference in New Issue