From: Anthony Minessale Date: Wed, 6 Jun 2007 14:35:32 +0000 (+0000) Subject: update X-Git-Tag: v1.0-beta1~242 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32bdf10952128cc081430b255bf6332c7beafcb9;p=thirdparty%2Ffreeswitch.git update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5275 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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"); } }