From 32bdf10952128cc081430b255bf6332c7beafcb9 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 6 Jun 2007 14:35:32 +0000 Subject: [PATCH] update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5275 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- scripts/socket/socket2me/socket2me.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/socket/socket2me/socket2me.c b/scripts/socket/socket2me/socket2me.c index 2934937026..980b97d463 100644 --- a/scripts/socket/socket2me/socket2me.c +++ b/scripts/socket/socket2me/socket2me.c @@ -371,7 +371,7 @@ void client_run(int client_socket, char *local_ip, int local_port, char *remote_ 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"); } }