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

@@ -361,7 +361,7 @@ namespace LwipMibCompiler
}
else
{
// not accessible or unsupported accress type
// not accessible or unsupported access type
return null;
}
@@ -434,7 +434,7 @@ namespace LwipMibCompiler
{
result.AugmentedTableRow = rot.Augments;
// the indeces from another table shall be used because this table is only an extension of it
// the indices from another table shall be used because this table is only an extension of it
rot = MibTypesResolver.ResolveDeclaration(rot.Module, rot.Augments) as ObjectType;
}

View File

@@ -11,7 +11,7 @@
namespace Lextm.SharpSnmpLib.Mib.Elements.Types
{
/// <summary>
/// The SEQUENCE type represents a set of specified types. This is roughtly analogous to a <code>struct</code> in C.
/// The SEQUENCE type represents a set of specified types. This is roughly analogous to a <code>struct</code> in C.
/// </summary>
public sealed class Sequence : BaseType
{

View File

@@ -438,7 +438,7 @@ namespace Lextm.SharpSnmpLib.Mib
if (current == Symbol.DoubleDot)
{
// its a continous range
// its a continuous range
Symbol value2Symbol = symbols.NextNonEOLSymbol();
Int64? value2 = DecodeNumber(value2Symbol);
value2Symbol.Assert(value2.HasValue && (value2.Value >= value1.Value), "Invalid range declaration!");

View File

@@ -197,11 +197,11 @@ namespace Lextm.SharpSnmpLib.Mib
Symbol s = symbols.NextSymbol();
if (s != null)
{
s.Assert(false, "Invalid Entitiy declaration");
s.Assert(false, "Invalid Entity declaration");
}
else
{
throw new MibException("Invalid Entitiy declaration");
throw new MibException("Invalid Entity declaration");
}
}

View File

@@ -10,7 +10,7 @@ namespace Lextm.SharpSnmpLib.Mib
}
/// <summary>
/// Returns the values of the map as continous range. At best as one range.
/// Returns the values of the map as continuous range. At best as one range.
/// </summary>
/// <returns></returns>
public ValueRanges GetContinousRanges()

View File

@@ -97,7 +97,7 @@ udpl [local UDP port] [IP address] [remote port]: opens a UDP-Lite \"connection\
static char help_msg2[] = "udpn [local UDP port] [IP address] [remote port]: opens a UDP \"connection\" without checksums."NEWLINE"\
udpb [local port] [remote port]: opens a UDP broadcast \"connection\"."NEWLINE"\
usnd [connection #] [message]: sends a message on a UDP connection."NEWLINE"\
recv [connection #]: recieves data on a TCP or UDP connection."NEWLINE"\
recv [connection #]: receives data on a TCP or UDP connection."NEWLINE"\
clos [connection #]: closes a TCP or UDP connection."NEWLINE"\
stat: prints out lwIP statistics."NEWLINE"\
idxtoname [index]: outputs interface name from index."NEWLINE"\

View File

@@ -236,7 +236,7 @@ tcpecho_raw_recv(void *arg, struct tcp_pcb *tpcb, struct pbuf *p, err_t err)
}
ret_err = ERR_OK;
} else {
/* unkown es->state, trash data */
/* unknown es->state, trash data */
tcp_recved(tpcb, p->tot_len);
pbuf_free(p);
ret_err = ERR_OK;

View File

@@ -137,7 +137,7 @@ httpd_post_receive_data(void *connection, struct pbuf *p)
}
}
/* not returning ERR_OK aborts the connection, so return ERR_OK unless the
conenction is unknown */
connection is unknown */
ret = ERR_OK;
} else {
ret = ERR_VAL;

View File

@@ -1,5 +1,5 @@
This port contains infrastructure and examples for running lwIP on Unix-like
operating systems (Linux, OpenBSD, cygwin). Much of this is targetted towards
operating systems (Linux, OpenBSD, cygwin). Much of this is targeted towards
testing lwIP applications.
* port/sys_arch.c, port/perf.c, port/include/arch/: Generic platform porting,

View File

@@ -357,7 +357,7 @@
/**
* PBUF_POOL_BUFSIZE: the size of each pbuf in the pbuf pool. The default is
* designed to accomodate single full size TCP frame in one pbuf, including
* designed to accommodate single full size TCP frame in one pbuf, including
* TCP_MSS, IP header, and link header.
*
*/

View File

@@ -15,7 +15,7 @@ typedef struct fifo_t {
sys_sem_t sem; /* semaphore protecting simultaneous data manipulation */
sys_sem_t getSem; /* sepaphore used to signal new data if getWaiting is set */
u8_t getWaiting; /* flag used to indicate that fifoget is waiting for data. fifoput is suposed to clear */
u8_t getWaiting; /* flag used to indicate that fifoget is waiting for data. fifoput is supposed to clear */
/* this flag prior to signaling the getSem semaphore */
} fifo_t;

View File

@@ -29,7 +29,7 @@ typedef enum sioBaudrates {
s16_t sio_poll(sio_status_t * siostat);
/**
* Parse incoming characters until a string str is recieved, blocking call
* Parse incoming characters until a string str is received, blocking call
* @param str zero terminated string to expect
* @param siostat siostatus struct, contains sio instance data, given by sio_open
*/

View File

@@ -172,7 +172,7 @@ struct pcapipf_pending_packet {
};
#endif /* PCAPIF_RECEIVE_PROMISCUOUS */
/* Packet Adapter informations */
/* Packet Adapter information */
struct pcapif_private {
void *input_fn_arg;
pcap_t *adapter;