diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-10-21 02:10:19 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-10-21 02:10:19 +0000 |
commit | 06b82a395a87dfcf4139fb44caeb9f4952f56b6d (patch) | |
tree | a955184a13d8444bdec0de9200f261c46cfa2734 /epan/dissectors/packet-bacapp.c | |
parent | 75cdd631a75832f542fe2b02ea6a469fdfcffa8a (diff) |
For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
Also: remove trailing whitespace for a number of files.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39503 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-bacapp.c')
-rw-r--r-- | epan/dissectors/packet-bacapp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-bacapp.c b/epan/dissectors/packet-bacapp.c index 6941e041de..857ce4e8ac 100644 --- a/epan/dissectors/packet-bacapp.c +++ b/epan/dissectors/packet-bacapp.c @@ -7304,7 +7304,7 @@ fEventParameter (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offs case 7: /* buffer-ready */ /* deprecated - while ((tvb_reported_length_remaining(tvb, offset) > 0)&&(offset>lastoffset)) { + while ((tvb_reported_length_remaining(tvb, offset) > 0)&&(offset>lastoffset)) { lastoffset = offset; switch (fTagNo(tvb, offset)) { case 0: @@ -7427,7 +7427,7 @@ fEventParameter (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offs default: break; } - + /* Closing tag for parameter choice */ offset += fTagHeaderTree(tvb, subtree, offset, &tag_no, &tag_info, &lvt); return offset; @@ -9777,7 +9777,7 @@ dissect_bacapp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) save_fragmented = pinfo->fragmented; - ti = proto_tree_add_item(tree, proto_bacapp, tvb, offset, -1, FALSE); + ti = proto_tree_add_item(tree, proto_bacapp, tvb, offset, -1, ENC_NA); bacapp_tree = proto_item_add_subtree(ti, ett_bacapp); if (!fragment) |