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 /asn1/h501 | |
parent | 449d732485da5a19b8a0d3ddef49ed30498712ff (diff) |
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 'asn1/h501')
-rw-r--r-- | asn1/h501/packet-h501-template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/h501/packet-h501-template.c b/asn1/h501/packet-h501-template.c index 55e337ae2a..2ac3b8c270 100644 --- a/asn1/h501/packet-h501-template.c +++ b/asn1/h501/packet-h501-template.c @@ -70,7 +70,7 @@ dissect_h501_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME); - ti = proto_tree_add_item(tree, proto_h501, tvb, 0, -1, FALSE); + ti = proto_tree_add_item(tree, proto_h501, tvb, 0, -1, ENC_NA); h501_tree = proto_item_add_subtree(ti, ett_h501); return dissect_Message_PDU(tvb, pinfo, h501_tree); @@ -131,7 +131,7 @@ void proto_register_h501(void) { } /*--- proto_reg_handoff_h501 -------------------------------------------*/ -void proto_reg_handoff_h501(void) +void proto_reg_handoff_h501(void) { static gboolean h501_prefs_initialized = FALSE; static dissector_handle_t h501_udp_handle; |