summaryrefslogtreecommitdiff
path: root/testlimits.c
diff options
context:
space:
mode:
authorMichael Wood <esiotrot@gmail.com>2012-09-28 08:59:33 +0200
committerDaniel Veillard <veillard@redhat.com>2012-10-30 10:18:49 +0800
commitfb27e2cd204ddb2cb0163b4b6418cc494889d279 (patch)
tree4228e46cd9bfa83f6a0f21a2a953486963a91f18 /testlimits.c
parent0ad948ede2b5060a144c72e4e27c38d24a272ef4 (diff)
downloadlibxml2-fb27e2cd204ddb2cb0163b4b6418cc494889d279.tar.gz
Fix spelling of "length".
Diffstat (limited to 'testlimits.c')
-rw-r--r--testlimits.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/testlimits.c b/testlimits.c
index 7ee6fb97..41994c44 100644
--- a/testlimits.c
+++ b/testlimits.c
@@ -1384,19 +1384,19 @@ struct limitDesc {
};
static limitDesc limitDescriptions[] = {
- /* max lenght of a text node in content */
+ /* max length of a text node in content */
{"huge:textNode", XML_MAX_TEXT_LENGTH - CHUNK, 0, 0},
{"huge:textNode", XML_MAX_TEXT_LENGTH + CHUNK, 0, 1},
{"huge:textNode", XML_MAX_TEXT_LENGTH + CHUNK, XML_PARSE_HUGE, 0},
- /* max lenght of a text node in content */
+ /* max length of a text node in content */
{"huge:attrNode", XML_MAX_TEXT_LENGTH - CHUNK, 0, 0},
{"huge:attrNode", XML_MAX_TEXT_LENGTH + CHUNK, 0, 1},
{"huge:attrNode", XML_MAX_TEXT_LENGTH + CHUNK, XML_PARSE_HUGE, 0},
- /* max lenght of a comment node */
+ /* max length of a comment node */
{"huge:commentNode", XML_MAX_TEXT_LENGTH - CHUNK, 0, 0},
{"huge:commentNode", XML_MAX_TEXT_LENGTH + CHUNK, 0, 1},
{"huge:commentNode", XML_MAX_TEXT_LENGTH + CHUNK, XML_PARSE_HUGE, 0},
- /* max lenght of a PI node */
+ /* max length of a PI node */
{"huge:piNode", XML_MAX_TEXT_LENGTH - CHUNK, 0, 0},
{"huge:piNode", XML_MAX_TEXT_LENGTH + CHUNK, 0, 1},
{"huge:piNode", XML_MAX_TEXT_LENGTH + CHUNK, XML_PARSE_HUGE, 0},