mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Fix probably where packets dropped because there was no recv() in place were being ACKed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@381 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -158,7 +158,7 @@ void send_client(void)
|
||||
}
|
||||
else if (nbytesrecvd != SENDSIZE)
|
||||
{
|
||||
message("client: Bad recv length=%d: %d\n", nbytessent);
|
||||
message("client: Bad recv length=%d: %d\n", nbytesrecvd);
|
||||
close(sockfd);
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user