Revision
14934
Author
rupa
Date
2009-09-21 10:37:57 -0500 (Mon, 21 Sep 2009)

Log Message

fix compile error on windows

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/applications/mod_esf/mod_esf.c (14933 => 14934)


--- freeswitch/trunk/src/mod/applications/mod_esf/mod_esf.c	2009-09-21 14:11:08 UTC (rev 14933)
+++ freeswitch/trunk/src/mod/applications/mod_esf/mod_esf.c	2009-09-21 15:37:57 UTC (rev 14934)
@@ -79,9 +79,10 @@
 	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);