aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h501.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-10-21 02:10:19 +0000
committerBill Meier <wmeier@newsguy.com>2011-10-21 02:10:19 +0000
commit794757ae8fbee85db2b24bc46b7e9cc492de01df (patch)
treea955184a13d8444bdec0de9200f261c46cfa2734 /epan/dissectors/packet-h501.c
parent449d732485da5a19b8a0d3ddef49ed30498712ff (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 'epan/dissectors/packet-h501.c')
-rw-r--r--epan/dissectors/packet-h501.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-h501.c b/epan/dissectors/packet-h501.c
index 7ebcc81862..1d0bf06e2f 100644
--- a/epan/dissectors/packet-h501.c
+++ b/epan/dissectors/packet-h501.c
@@ -2527,7 +2527,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);
@@ -3697,7 +3697,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;