diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-02-20 22:36:34 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-02-20 22:36:34 +0000 |
commit | 2f836c20a873e846b17a4900f7c980377a0ed0dd (patch) | |
tree | 909db714be8a4d2b92b651d77bca32fb56719787 | |
parent | 6a60b57c13d0cd7be185e94215cd623ab333e840 (diff) | |
download | wireshark-2f836c20a873e846b17a4900f7c980377a0ed0dd.tar.gz wireshark-2f836c20a873e846b17a4900f7c980377a0ed0dd.tar.bz2 wireshark-2f836c20a873e846b17a4900f7c980377a0ed0dd.zip |
fix a typo: lenght -> length
This seems to be a "more common" typo, fixed it 13 times throughout the code ...
svn path=/trunk/; revision=13452
-rw-r--r-- | epan/dissectors/packet-dcm.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-pres.c | 4 | ||||
-rw-r--r-- | epan/dissectors/packet-rtcp.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-sigcomp.c | 2 | ||||
-rw-r--r-- | epan/sigcomp_state_hdlr.c | 2 | ||||
-rw-r--r-- | epan/xmlstub.h | 8 | ||||
-rw-r--r-- | plugins/acn/packet-acn.c | 2 | ||||
-rw-r--r-- | plugins/lwres/packet-lwres.c | 2 | ||||
-rw-r--r-- | plugins/mate/mate_util.c | 4 |
9 files changed, 14 insertions, 14 deletions
diff --git a/epan/dissectors/packet-dcm.c b/epan/dissectors/packet-dcm.c index f9ea6f8e17..d284cc0fe7 100644 --- a/epan/dissectors/packet-dcm.c +++ b/epan/dissectors/packet-dcm.c @@ -814,7 +814,7 @@ dissect_dcm_data(dcmState_t *dcm_data, proto_item *ti, tvbuff_t *tvb) V = tvb_get_guint8(tvb, offset); offset++; R = tvb_get_guint8(tvb, offset); offset++; len += 2; - /* 4byte lenghts OB, OW, OF, SQ, UN, UT */ + /* 4byte lengths OB, OW, OF, SQ, UN, UT */ state = D_LEN2; nlen = 2; if ((('O' == V) && ('B' == R || 'W' == R || 'F' == R)) diff --git a/epan/dissectors/packet-pres.c b/epan/dissectors/packet-pres.c index b988fb9b97..a63ad05207 100644 --- a/epan/dissectors/packet-pres.c +++ b/epan/dissectors/packet-pres.c @@ -1371,7 +1371,7 @@ show_connection_request_confirm(ASN1_SCK *asn,proto_tree *pres_tree,tvbuff_t proto_tree_add_uint(pres_tree_ms, hf_pres_ms_type, tvb, (*offset)-1, 1, type); proto_tree_add_text(pres_tree_ms, tvb, *offset, (asn->offset-*offset), - "Lenght:%u",*item_len); + "Length:%u",*item_len); *offset=asn->offset; show_integer(asn,pres_tree_ms,tvb,offset,*item_len); break; @@ -1380,7 +1380,7 @@ type); proto_tree_add_uint(pres_tree_ms, hf_pres_seq_type, tvb, (*offset)-1, 1, type); proto_tree_add_text(pres_tree_ms, tvb, *offset, (asn->offset-*offset), - "Lenght:%u",*item_len); + "Length:%u",*item_len); *offset=asn->offset; show_sequence_top(asn,pres_tree_ms,tvb,pinfo,offset,*item_len); break; diff --git a/epan/dissectors/packet-rtcp.c b/epan/dissectors/packet-rtcp.c index 08a2f85b39..02ac4aff26 100644 --- a/epan/dissectors/packet-rtcp.c +++ b/epan/dissectors/packet-rtcp.c @@ -1174,7 +1174,7 @@ dissect_rtcp_xr(tvbuff_t *tvb, packet_info *pinfo _U_, int offset, proto_tree *t gchar* run_type = (value & 0x4000) ? "1s" : "0s"; value &= 0x7FFF; proto_tree_add_text(chunks_tree, tvb, offset, 2, - "Chunk: %u -- Lenght Run %s, lenght: %u", + "Chunk: %u -- Length Run %s, length: %u", count, run_type, value); } else { gchar* bits; diff --git a/epan/dissectors/packet-sigcomp.c b/epan/dissectors/packet-sigcomp.c index bcc582fd90..112f8c21ef 100644 --- a/epan/dissectors/packet-sigcomp.c +++ b/epan/dissectors/packet-sigcomp.c @@ -429,7 +429,7 @@ dissect_sigcomp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) * p_id_start = Partial state identifier start pos in the buffer(buff) * partial_state_len = Partial state identifier length * state_begin = Where to start to read state from - * state_length = Lenght of state + * state_length = Length of state * state_address = Address where to store the state in the buffer(buff) * state_instruction = * TRUE = Indicates that state_* is in the stored state diff --git a/epan/sigcomp_state_hdlr.c b/epan/sigcomp_state_hdlr.c index 553c20b5c7..517bc29fb5 100644 --- a/epan/sigcomp_state_hdlr.c +++ b/epan/sigcomp_state_hdlr.c @@ -505,7 +505,7 @@ int udvm_state_access(tvbuff_t *tvb, proto_tree *tree,guint8 *buff,guint16 p_id_ * p_id_start = Partial state identifier start pos in the buffer(buff)
* p-id_length = Partial state identifier length
* state_begin = Where to start to read state from
- * state_length = Lenght of state
+ * state_length = Length of state
* state_adress = Address where to store the state in the buffer(buff)
* state_instruction =
* FALSE = Indicates that state_* is in the stored state
diff --git a/epan/xmlstub.h b/epan/xmlstub.h index 47a6d0a0ef..2bf30e551d 100644 --- a/epan/xmlstub.h +++ b/epan/xmlstub.h @@ -547,9 +547,9 @@ typedef enum { /** * xmlCharEncodingInputFunc: * @out: a pointer ot an array of bytes to store the UTF-8 result - * @outlen: the lenght of @out + * @outlen: the length of @out * @in: a pointer ot an array of chars in the original encoding - * @inlen: the lenght of @in + * @inlen: the length of @in * * Take a block of chars in the original encoding and try to convert * it to an UTF-8 block of chars out. @@ -567,9 +567,9 @@ typedef int (* xmlCharEncodingInputFunc)(unsigned char* out, int *outlen, /** * xmlCharEncodingOutputFunc: * @out: a pointer ot an array of bytes to store the result - * @outlen: the lenght of @out + * @outlen: the length of @out * @in: a pointer ot an array of UTF-8 chars - * @inlen: the lenght of @in + * @inlen: the length of @in * * Take a block of UTF-8 chars in and try to convert it to an other * encoding. diff --git a/plugins/acn/packet-acn.c b/plugins/acn/packet-acn.c index 5d8169c93d..3c7b78b248 100644 --- a/plugins/acn/packet-acn.c +++ b/plugins/acn/packet-acn.c @@ -937,7 +937,7 @@ proto_register_acn(void) { "res", HFILL }}, { &hf_acn_pdu_length, - { "Lenght","acn.pdu.length", + { "Length","acn.pdu.length", FT_UINT8, BASE_DEC, NULL, 0x0, "Length", HFILL }}, diff --git a/plugins/lwres/packet-lwres.c b/plugins/lwres/packet-lwres.c index c30373b1c1..16de34150d 100644 --- a/plugins/lwres/packet-lwres.c +++ b/plugins/lwres/packet-lwres.c @@ -1450,7 +1450,7 @@ proto_register_lwres(void) { &hf_adn_addr_len, { "Address length", "lwres.adn.addr.length", FT_UINT16, BASE_DEC, NULL, 0x0, - "lwres adn addr lenght", HFILL }}, + "lwres adn addr length", HFILL }}, { &hf_adn_addr_addr, { "IP Address", "lwres.adn.addr.addr", FT_STRING, BASE_DEC, NULL, 0x0, diff --git a/plugins/mate/mate_util.c b/plugins/mate/mate_util.c index baa865e532..37768d778f 100644 --- a/plugins/mate/mate_util.c +++ b/plugins/mate/mate_util.c @@ -1624,7 +1624,7 @@ LoAL* load_loal_error(FILE* fp, LoAL* loal, AVPL* curr, int linenum, guint8* fmt } -/* the maximum lenght allowed for a line */ +/* the maximum length allowed for a line */ #define MAX_ITEM_LEN 8192 /* this two ugly things are used for tokenizing */ @@ -1694,7 +1694,7 @@ extern LoAL* loal_from_file(guint8* filename) { } if ( i >= MAX_ITEM_LEN - 1 ) { - return load_loal_error(fp,loal,curr,linenum,"Maximum item lenght exceeded"); + return load_loal_error(fp,loal,curr,linenum,"Maximum item length exceeded"); } switch(state) { |