mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 03:16:18 +00:00
Fixed typo.
This commit is contained in:
parent
c0b534e531
commit
2f02120fee
@ -348,7 +348,7 @@ tcp_input(struct pbuf *p, struct netif *inp)
|
|||||||
u16_t acked;
|
u16_t acked;
|
||||||
#if LWIP_WND_SCALE
|
#if LWIP_WND_SCALE
|
||||||
/* pcb->acked is u32_t but the sent callback only takes a u16_t,
|
/* pcb->acked is u32_t but the sent callback only takes a u16_t,
|
||||||
so we might have to call it multiple timess. */
|
so we might have to call it multiple times. */
|
||||||
u32_t pcb_acked = pcb->acked;
|
u32_t pcb_acked = pcb->acked;
|
||||||
while(pcb_acked > 0) {
|
while(pcb_acked > 0) {
|
||||||
acked = (u16_t)LWIP_MIN(pcb_acked, 0xffffu);
|
acked = (u16_t)LWIP_MIN(pcb_acked, 0xffffu);
|
||||||
|
Loading…
Reference in New Issue
Block a user