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;