diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-10-21 02:10:19 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-10-21 02:10:19 +0000 |
commit | 794757ae8fbee85db2b24bc46b7e9cc492de01df (patch) | |
tree | a955184a13d8444bdec0de9200f261c46cfa2734 /epan/dissectors/packet-megaco.c | |
parent | 449d732485da5a19b8a0d3ddef49ed30498712ff (diff) | |
download | wireshark-794757ae8fbee85db2b24bc46b7e9cc492de01df.tar.gz |
For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
Also: remove trailing whitespace for a number of files.
svn path=/trunk/; revision=39503
Diffstat (limited to 'epan/dissectors/packet-megaco.c')
-rw-r--r-- | epan/dissectors/packet-megaco.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-megaco.c b/epan/dissectors/packet-megaco.c index d170374334..0b5f386f7a 100644 --- a/epan/dissectors/packet-megaco.c +++ b/epan/dissectors/packet-megaco.c @@ -409,7 +409,7 @@ dissect_megaco_text(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* Build the info tree if we've been given a root */ /* Create megaco subtree */ - ti = proto_tree_add_item(tree,proto_megaco,tvb, 0, -1, FALSE); + ti = proto_tree_add_item(tree,proto_megaco,tvb, 0, -1, ENC_NA); megaco_tree = proto_item_add_subtree(ti, ett_megaco); /* Format of 'message' is = MegacopToken SLASH Version SEP mId SEP messageBody */ @@ -682,7 +682,7 @@ dissect_megaco_text(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) break; default : - ti = proto_tree_add_item(tree,proto_megaco,tvb, 0, -1, FALSE); + ti = proto_tree_add_item(tree,proto_megaco,tvb, 0, -1, ENC_NA); megaco_tree = proto_item_add_subtree(ti, ett_megaco); proto_tree_add_text(megaco_tree, tvb, 0, -1, "Sorry, can't understand errorDescriptor / transactionList = %s, can't parse it pos %u", |