mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-27 06:14:09 +00:00
tcp_out: Fix comment for last_unsent->oversize_left and tcp_pcb.unsent_oversize
Both last_unsent->unsent_oversize and tcp_pcb.unsent_oversized fields are not exist, fix the comments. Signed-off-by: Axel Lin <axel.lin@ingics.com>
This commit is contained in:
parent
df8e404abd
commit
30aedfc3f7
@ -461,7 +461,7 @@ tcp_write(struct tcp_pcb *pcb, const void *arg, u16_t len, u8_t apiflags)
|
||||
*/
|
||||
#if TCP_OVERSIZE
|
||||
#if TCP_OVERSIZE_DBGCHECK
|
||||
/* check that pcb->unsent_oversize matches last_unsent->unsent_oversize */
|
||||
/* check that pcb->unsent_oversize matches last_unsent->oversize_left */
|
||||
LWIP_ASSERT("unsent_oversize mismatch (pcb vs. last_unsent)",
|
||||
pcb->unsent_oversize == last_unsent->oversize_left);
|
||||
#endif /* TCP_OVERSIZE_DBGCHECK */
|
||||
|
@ -249,7 +249,7 @@ struct tcp_seg {
|
||||
#if TCP_OVERSIZE_DBGCHECK
|
||||
u16_t oversize_left; /* Extra bytes available at the end of the last
|
||||
pbuf in unsent (used for asserting vs.
|
||||
tcp_pcb.unsent_oversized only) */
|
||||
tcp_pcb.unsent_oversize only) */
|
||||
#endif /* TCP_OVERSIZE_DBGCHECK */
|
||||
#if TCP_CHECKSUM_ON_COPY
|
||||
u16_t chksum;
|
||||
|
Loading…
Reference in New Issue
Block a user