Fix some spelling errors.

This commit is contained in:
Martin Mathieson 2021-09-27 09:17:16 +01:00
parent 9a5b9dbca3
commit a156d7d05d
7 changed files with 28 additions and 14 deletions

View File

@ -705,7 +705,7 @@ INT Dot11DecryptScanTdlsForKeys(
}
if (length < min_length || tot_len < offset + 2 + length) {
ws_debug("Invalid length reconds in IEs");
ws_debug("Invalid length records in IEs");
return DOT11DECRYPT_RET_NO_VALID_HANDSHAKE;
}
offset += 2 + length;

View File

@ -4647,7 +4647,7 @@ proto_register_h265(void)
static ei_register_info ei[] = {
{ &ei_h265_undecoded,{ "h265.undecoded", PI_UNDECODED, PI_WARN, "[Not decoded yet]", EXPFILL } },
{ &ei_h265_oversized_exp_golomb_code, {"h265.oversized_exp_golomb_code", PI_MALFORMED, PI_ERROR, "Exponentional Golomb encoded value greater than 32 bit integer, clamped", EXPFILL } },
{ &ei_h265_oversized_exp_golomb_code, {"h265.oversized_exp_golomb_code", PI_MALFORMED, PI_ERROR, "Exponential Golomb encoded value greater than 32 bit integer, clamped", EXPFILL } },
{ &ei_h265_value_to_large,{ "h265.value_to_large", PI_PROTOCOL, PI_ERROR, "[Value to large, protocol violation]", EXPFILL } },
{ &ei_h265_format_specific_parameter,{ "h265.format_specific_parameter", PI_UNDECODED, PI_WARN, "[Unspecified media format specific parameter]", EXPFILL } },
};

View File

@ -11867,7 +11867,7 @@ proto_register_isup(void)
#endif
{ &hf_japan_isup_carrier_info_length,
{ "Length of Carrier Information", "isup.jpn.arrier_info_length",
{ "Length of Carrier Information", "isup.jpn.carrier_info_length",
FT_UINT8, BASE_DEC, NULL, 0x0,
NULL, HFILL }},

View File

@ -256,13 +256,13 @@ int main(int argc, char* argv[])
if (etlfile == NULL)
{
if (err_msg != NULL) {
ws_warning("The live session didn't caputre any event. Error message: %s.",
ws_warning("The live session didn't capture any event. Error message: %s.",
err_msg);
g_free(err_msg);
}
else
{
ws_warning("The live session didn't caputre any event");
ws_warning("The live session didn't capture any event");
}
}
else

View File

@ -325,15 +325,20 @@ def isAppropriateFile(filename):
return extension in { '.adoc', '.c', '.cpp', '.pod', '.nsi'} or file.endswith('README')
def findFilesInFolder(folder):
def findFilesInFolder(folder, recursive=True):
files_to_check = []
for root, subfolders, files in os.walk(folder):
for f in files:
if should_exit:
return
f = os.path.join(root, f)
if recursive:
for root, subfolders, files in os.walk(folder):
for f in files:
if should_exit:
return
f = os.path.join(root, f)
if isAppropriateFile(f) and not isGeneratedFile(f):
files_to_check.append(f)
else:
for f in sorted(os.listdir(folder)):
f = os.path.join(folder, f)
if isAppropriateFile(f) and not isGeneratedFile(f):
files_to_check.append(f)
@ -362,6 +367,8 @@ parser.add_argument('--file', action='store', default='',
help='specify individual file to test')
parser.add_argument('--folder', action='store', default='',
help='specify folder to test')
parser.add_argument('--no-recurse', action='store_true', default='',
help='do not recurse inside chosen folder')
parser.add_argument('--commits', action='store',
help='last N commits to check')
parser.add_argument('--open', action='store_true',
@ -414,7 +421,7 @@ else:
# Find files from folder.
print('Looking for files in', folder)
files = findFilesInFolder(folder)
files = findFilesInFolder(folder, not args.no_recurse)
# If scanning a subset of files, list them here.

View File

@ -151,6 +151,7 @@ cannot
canonicalised
canonicalize
canonicalized
capacitive
capinfos
capsa
captioning
@ -336,6 +337,7 @@ dialup
diffie
Digicel
digitizer
digium
diplexer
directionality
disambiguation
@ -497,6 +499,7 @@ hartip
hashed
hashes
hazelcast
hcidump
heuristic
hfarr
hfill,
@ -535,6 +538,7 @@ inband
incits
incremented
incrementing
indenting
indirection
infile
infiniband
@ -793,6 +797,7 @@ outhdr
packetcable
packetization
packetized
pagings
parallelization
param
parameterization
@ -1326,10 +1331,12 @@ unroutable
unsecure
unsegmented
unsequenced
unspec
unsubscribe
unsubscribed
unsynchronized
untagged
unterminated
untruncated
untrusted
untunneled

View File

@ -198,7 +198,7 @@ diameteravp_draw(void *pds)
{
diameteravp_t *ds = (diameteravp_t *)pds;
/* printing results */
printf("=== Diameter Summary ===\nrequset count:\t%u\nanswer count:\t%u\nreq/ans pairs:\t%u\n", ds->req_count, ds->ans_count, ds->paired_ans_count);
printf("=== Diameter Summary ===\nrequest count:\t%u\nanswer count:\t%u\nreq/ans pairs:\t%u\n", ds->req_count, ds->ans_count, ds->paired_ans_count);
}