]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 6 Jun 2007 14:35:32 +0000 (14:35 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 6 Jun 2007 14:35:32 +0000 (14:35 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5275 d0543943-73ff-0310-b7d9-9358b9ac24b2

scripts/socket/socket2me/socket2me.c

index 29349370267d92d0939f6ca67639f156299bba1d..980b97d4633d682ab78acd3c022697983732ce95 100644 (file)
@@ -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");
                }
        }