[Freeswitch-svn] [commit] r10490 - freeswitch/trunk/src

FreeSWITCH SVN anthm at freeswitch.org
Fri Nov 21 06:25:24 PST 2008


Author: anthm
Date: Fri Nov 21 09:25:24 2008
New Revision: 10490

Log:
good measure

Modified:
   freeswitch/trunk/src/switch_rtp.c

Modified: freeswitch/trunk/src/switch_rtp.c
==============================================================================
--- freeswitch/trunk/src/switch_rtp.c	(original)
+++ freeswitch/trunk/src/switch_rtp.c	Fri Nov 21 09:25:24 2008
@@ -1007,8 +1007,11 @@
 
 	if (rtp_session->sock_input) {
 		char o[4] = "DOH";
-		switch_size_t len = sizeof(o);
-		
+		switch_size_t len;
+
+		len = sizeof(o);		
+		switch_socket_sendto(rtp_session->sock_input, rtp_session->local_addr, 0, (void *) o, &len);
+		len = sizeof(o);
 		switch_socket_sendto(rtp_session->sock_input, rtp_session->local_addr, 0, (void *) o, &len);
 	}
 	switch_mutex_unlock(rtp_session->flag_mutex);



More information about the Freeswitch-svn mailing list