]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix compile error on windows
authorRupa Schomaker <rupa@rupa.com>
Mon, 21 Sep 2009 15:37:57 +0000 (15:37 +0000)
committerRupa Schomaker <rupa@rupa.com>
Mon, 21 Sep 2009 15:37:57 +0000 (15:37 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14934 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_esf/mod_esf.c

index 431a806556e4fc7d7be8ccde6be2f34e26bfd1a0..ec1c361e8314d8ce865e373fc1f44cd4b5808767 100644 (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);