mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-24 15:14:06 +00:00
Trivial typo fix
s/chekc/check/g Signed-off-by: Axel Lin <axel.lin@ingics.com>
This commit is contained in:
parent
a78dbb25c5
commit
a8acca5902
@ -1248,7 +1248,7 @@ pbuf_take_at(struct pbuf *buf, const void *dataptr, u16_t len, u16_t offset)
|
||||
const u8_t *src_ptr = (const u8_t *)dataptr;
|
||||
/* copy the part that goes into the first pbuf */
|
||||
u16_t first_copy_len;
|
||||
LWIP_ASSERT("chekc pbuf_skip result", target_offset < q->len);
|
||||
LWIP_ASSERT("check pbuf_skip result", target_offset < q->len);
|
||||
first_copy_len = (u16_t)LWIP_MIN(q->len - target_offset, len);
|
||||
MEMCPY(((u8_t *)q->payload) + target_offset, dataptr, first_copy_len);
|
||||
remaining_len = (u16_t)(remaining_len - first_copy_len);
|
||||
|
@ -135,7 +135,7 @@ START_TEST(test_tcp_listen_passive_open)
|
||||
EXPECT(txcounters.num_tx_calls == 1);
|
||||
}
|
||||
|
||||
/* chekc syn packet with short length */
|
||||
/* check syn packet with short length */
|
||||
p = tcp_create_segment(&src_addr, &lpcb->local_ip, 12345,
|
||||
lpcb->local_port, NULL, 0, 12345, 54321, TCP_SYN);
|
||||
EXPECT(p != NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user