Fix typos using codespell

Conservative strategy was used, maybe other typos remain.

Rebased: Simon Goldschmidt <goldsimon@gmx.de>
This commit is contained in:
jona
2020-02-13 22:15:16 +01:00
committed by Simon Goldschmidt
parent 69c4c8a074
commit d6a6b661d9
56 changed files with 86 additions and 86 deletions

View File

@@ -94,7 +94,7 @@
*
* To save memory, the maximum tag length is limited (@see LWIP_HTTPD_MAX_TAG_NAME_LEN).
* To save memory, the maximum insertion string length is limited (@see
* LWIP_HTTPD_MAX_TAG_INSERT_LEN). If this is not enought, @ref LWIP_HTTPD_SSI_MULTIPART
* LWIP_HTTPD_MAX_TAG_INSERT_LEN). If this is not enough, @ref LWIP_HTTPD_SSI_MULTIPART
* can be used.
*/
#if !defined LWIP_HTTPD_SSI || defined __DOXYGEN__

View File

@@ -143,7 +143,7 @@ struct mdns_outmsg {
/** If legacy query. (tx_id needed, and write
* question again in reply before answer) */
u8_t legacy_query;
/** If the query is a probe msg we need to respond immediatly. Independent of
/** If the query is a probe msg we need to respond immediately. Independent of
* the QU or QM flag. */
u8_t probe_query_recv;
/* Question bitmask for host information */

View File

@@ -42,7 +42,7 @@
/** NetBIOS name of lwip device
* This must be uppercase until NETBIOS_STRCMP() is defined to a string
* comparision function that is case insensitive.
* comparison function that is case insensitive.
* If you want to use the netif's hostname, use this (with LWIP_NETIF_HOSTNAME):
* (ip_current_netif() != NULL ? ip_current_netif()->hostname != NULL ? ip_current_netif()->hostname : "" : "")
*

View File

@@ -50,7 +50,7 @@ extern "C" {
#include "lwip/err.h"
#include "lwip/apps/snmp_core.h"
/** SNMP variable binding descriptor (publically needed for traps) */
/** SNMP variable binding descriptor (publicly needed for traps) */
struct snmp_varbind
{
/** pointer to next varbind, NULL for last in list */

View File

@@ -60,7 +60,7 @@ extern struct snmp_threadsync_instance snmp_mib2_lwip_locks;
#define SNMP_SYSSERVICES ((1 << 6) | (1 << 3) | ((IP_FORWARD) << 2))
#endif
void snmp_mib2_set_sysdescr(const u8_t* str, const u16_t* len); /* read-only be defintion */
void snmp_mib2_set_sysdescr(const u8_t* str, const u16_t* len); /* read-only be definition */
void snmp_mib2_set_syscontact(u8_t *ocstr, u16_t *ocstrlen, u16_t bufsize);
void snmp_mib2_set_syscontact_readonly(const u8_t *ocstr, const u16_t *ocstrlen);
void snmp_mib2_set_sysname(u8_t *ocstr, u16_t *ocstrlen, u16_t bufsize);

View File

@@ -72,7 +72,7 @@ struct threadsync_data
struct snmp_node_instance proxy_instance;
};
/** Thread sync instance. Needed EXCATLY once for every thread to be synced into. */
/** Thread sync instance. Needed EXACTLY once for every thread to be synced into. */
struct snmp_threadsync_instance
{
sys_sem_t sem;

View File

@@ -74,7 +74,7 @@
/** Platform specific diagnostic output.<br>
* Note the default implementation pulls in printf, which may
* in turn pull in a lot of standard libary code. In resource-constrained
* in turn pull in a lot of standard library code. In resource-constrained
* systems, this should be defined to something less resource-consuming.
*/
#ifndef LWIP_PLATFORM_DIAG
@@ -85,7 +85,7 @@
/** Platform specific assertion handling.<br>
* Note the default implementation pulls in printf, fflush and abort, which may
* in turn pull in a lot of standard libary code. In resource-constrained
* in turn pull in a lot of standard library code. In resource-constrained
* systems, this should be defined to something less resource-consuming.
*/
#ifndef LWIP_PLATFORM_ASSERT

View File

@@ -2834,7 +2834,7 @@
* the first 'opt1len' bytes and the rest starts at 'opt2'. opt2len can
* be simply calculated: 'opt2len = optlen - opt1len;'
* - p: input packet, p->payload points to application data (that's why tcp hdr
* and options are passed in seperately)
* and options are passed in separately)
* Return value:
* - ERR_OK: continue input of this packet as normal
* - != ERR_OK: drop this packet for input (don't continue input processing)

View File

@@ -73,7 +73,7 @@ typedef enum {
* that stay active even if the netif has a routable address selected.
* In such a case, we cannot defend our address */
ACD_STATE_PASSIVE_ONGOING,
/* To many conflicts occured, we need to wait before restarting the selection
/* To many conflicts occurred, we need to wait before restarting the selection
* process */
ACD_STATE_RATE_LIMIT
} acd_state_enum_t;

View File

@@ -94,7 +94,7 @@ extern "C" {
void magic_init(void);
/*
* Randomize our random seed value. To be called for truely random events
* Randomize our random seed value. To be called for truly random events
* such as user operations and network traffic.
*/
void magic_randomize(void);

View File

@@ -265,7 +265,7 @@ extern int maxoctets_timeout; /* Timeout for check of octets limit */
#define PPP_OCTETS_DIRECTION_IN 1
#define PPP_OCTETS_DIRECTION_OUT 2
#define PPP_OCTETS_DIRECTION_MAXOVERAL 3
/* same as previos, but little different on RADIUS side */
/* same as previous, but little different on RADIUS side */
#define PPP_OCTETS_DIRECTION_MAXSESSION 4
#endif