From 780e8e98aacc5608e13e30fa8336f8480fb0c6bb Mon Sep 17 00:00:00 2001 From: Rupa Schomaker Date: Mon, 21 Sep 2009 15:37:57 +0000 Subject: [PATCH] fix compile error on windows git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14934 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_esf/mod_esf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mod/applications/mod_esf/mod_esf.c b/src/mod/applications/mod_esf/mod_esf.c index 431a806556..ec1c361e83 100644 --- a/src/mod/applications/mod_esf/mod_esf.c +++ b/src/mod/applications/mod_esf/mod_esf.c @@ -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);