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:
Rupa Schomaker 2009-09-21 15:37:57 +00:00
parent 22bb9e023b
commit 780e8e98aa
1 changed files with 2 additions and 1 deletions

View File

@ -79,9 +79,10 @@ SWITCH_STANDARD_APP(bcast_function)
char *mcast_port_str = "34567";
const char *esf_broadcast_ip = NULL, *var;
switch_codec_implementation_t read_impl = {0};
switch_core_session_get_read_impl(session, &read_impl);
int mcast_ttl = 1;
switch_core_session_get_read_impl(session, &read_impl);
if (!switch_strlen_zero((char *) data)) {
mydata = switch_core_session_strdup(session, data);
assert(mydata != NULL);