[Freeswitch-svn] [commit] r5275 - freeswitch/trunk/scripts/socket/socket2me

Freeswitch SVN anthm at freeswitch.org
Wed Jun 6 10:35:32 EDT 2007


Author: anthm
Date: Wed Jun  6 10:35:32 2007
New Revision: 5275

Modified:
   freeswitch/trunk/scripts/socket/socket2me/socket2me.c

Log:
update

Modified: freeswitch/trunk/scripts/socket/socket2me/socket2me.c
==============================================================================
--- freeswitch/trunk/scripts/socket/socket2me/socket2me.c	(original)
+++ freeswitch/trunk/scripts/socket/socket2me/socket2me.c	Wed Jun  6 10:35:32 2007
@@ -371,7 +371,7 @@
 		
 
 		cliAddrLen = sizeof(sendaddr);
-        if (sendto(usock, usebuf, tx_bytes, 0, (struct sockaddr *) &sendaddr, sizeof(sendaddr)) != sample_count) {
+        if (sendto(usock, usebuf, tx_bytes, 0, (struct sockaddr *) &sendaddr, sizeof(sendaddr)) != tx_bytes) {
 			die("sendto() sent a different number of bytes than expected");
 		}
 	}



More information about the Freeswitch-svn mailing list