Trivial typo fix

s/chekc/check/g

Signed-off-by: Axel Lin <axel.lin@ingics.com>
This commit is contained in:
Axel Lin 2017-11-07 08:59:29 +08:00 committed by Dirk Ziegelmeier
parent a78dbb25c5
commit a8acca5902
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);