Fix typos using codespell
Conservative strategy was used, maybe other typos remain. Rebased: Simon Goldschmidt <goldsimon@gmx.de>
This commit is contained in:
@@ -254,7 +254,7 @@ static void test_sockets_msgapi_update_iovs(struct msghdr *msg, size_t bytes)
|
||||
|
||||
/* note: this modifies the underyling iov_base and iov_len for a partial
|
||||
read for an individual vector. This updates the msg->msg_iov pointer
|
||||
to skip fully consumed vecotrs */
|
||||
to skip fully consumed vectors */
|
||||
|
||||
/* process fully consumed vectors */
|
||||
for (i = 0; i < msg->msg_iovlen; i++) {
|
||||
|
||||
@@ -297,7 +297,7 @@ static err_t lwip_tx_func(struct netif *netif, struct pbuf *p)
|
||||
|
||||
check_pkt(p, 278, magic_cookie, sizeof(magic_cookie));
|
||||
|
||||
/* Check dchp message type, can be at different positions */
|
||||
/* Check dhcp message type, can be at different positions */
|
||||
if (txpacket == 1) {
|
||||
u8_t dhcp_discover_opt[] = { 0x35, 0x01, 0x01 };
|
||||
check_pkt_fuzzy(p, 282, dhcp_discover_opt, sizeof(dhcp_discover_opt));
|
||||
@@ -390,7 +390,7 @@ static err_t lwip_tx_func(struct netif *netif, struct pbuf *p)
|
||||
|
||||
check_pkt(p, 278, magic_cookie, sizeof(magic_cookie));
|
||||
|
||||
/* Check dchp message type, can be at different positions */
|
||||
/* Check dhcp message type, can be at different positions */
|
||||
if (txpacket == 1) {
|
||||
u8_t dhcp_discover_opt[] = { 0x35, 0x01, 0x01 };
|
||||
check_pkt_fuzzy(p, 282, dhcp_discover_opt, sizeof(dhcp_discover_opt));
|
||||
@@ -449,7 +449,7 @@ static err_t lwip_tx_func(struct netif *netif, struct pbuf *p)
|
||||
|
||||
check_pkt(p, 278, magic_cookie, sizeof(magic_cookie));
|
||||
|
||||
/* Check dchp message type, can be at different positions */
|
||||
/* Check dhcp message type, can be at different positions */
|
||||
check_pkt_fuzzy(p, 282, dhcp_request_opt, sizeof(dhcp_request_opt));
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1607,7 +1607,7 @@ START_TEST(test_tcp_persist_split)
|
||||
#if TCP_OVERSIZE_DBGCHECK
|
||||
/* Split segment already transmitted, should be at 0 */
|
||||
EXPECT(pcb->unacked->oversize_left == 0);
|
||||
/* Remainder segement should match pcb value (which is 0) */
|
||||
/* Remainder segment should match pcb value (which is 0) */
|
||||
EXPECT(pcb->unsent->oversize_left == pcb->unsent_oversize);
|
||||
#endif /* TCP_OVERSIZE_DBGCHECK */
|
||||
#endif /* TCP_OVERSIZE */
|
||||
|
||||
Reference in New Issue
Block a user