aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-multipart.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-09-26 17:50:54 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-09-26 17:50:54 +0000
commit14fbabcb26b922d35d153ec8af8162649db41275 (patch)
tree70baaec7f49a0bc7032c6754a088812f38d7f5a3 /epan/dissectors/packet-multipart.c
parent75b86a9cd453c39889b27b3701135f64062f41f9 (diff)
Get rid of check_col() and use ENC.
svn path=/trunk/; revision=39153
Diffstat (limited to 'epan/dissectors/packet-multipart.c')
-rw-r--r--epan/dissectors/packet-multipart.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/epan/dissectors/packet-multipart.c b/epan/dissectors/packet-multipart.c
index 7a9e5ebc1b..91552bb1e4 100644
--- a/epan/dissectors/packet-multipart.c
+++ b/epan/dissectors/packet-multipart.c
@@ -601,7 +601,7 @@ process_body_part(proto_tree *tree, tvbuff_t *tvb, const guint8 *boundary,
gboolean last_field = FALSE;
if (tree) {
- ti = proto_tree_add_item(tree, hf_multipart_part, tvb, start, 0, FALSE);
+ ti = proto_tree_add_item(tree, hf_multipart_part, tvb, start, 0, ENC_BIG_ENDIAN);
subtree = proto_item_add_subtree(ti, ett_multipart_body);
}
/*
@@ -833,7 +833,7 @@ static void dissect_multipart(tvbuff_t *tvb, packet_info *pinfo,
if (tree) {
proto_item *type_ti;
ti = proto_tree_add_item(tree, proto_multipart,
- tvb, 0, -1, FALSE);
+ tvb, 0, -1, ENC_BIG_ENDIAN);
subtree = proto_item_add_subtree(ti, ett_multipart);
proto_item_append_text(ti, ", Type: %s, Boundary: \"%s\"",
m_info->type, m_info->boundary);
@@ -848,8 +848,7 @@ static void dissect_multipart(tvbuff_t *tvb, packet_info *pinfo,
* Make no entries in Protocol column and Info column on summary display,
* but stop sub-dissectors from clearing entered text in summary display.
*/
- if (check_col(pinfo->cinfo, COL_INFO))
- col_set_fence(pinfo->cinfo, COL_INFO);
+ col_set_fence(pinfo->cinfo, COL_INFO);
/*
* Process the multipart preamble