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-pw-common.c | |
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 'epan/dissectors/packet-pw-common.c')
-rw-r--r-- | epan/dissectors/packet-pw-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-pw-common.c b/epan/dissectors/packet-pw-common.c index 6144947e13..1c33f99c3b 100644 --- a/epan/dissectors/packet-pw-common.c +++ b/epan/dissectors/packet-pw-common.c @@ -38,7 +38,7 @@ pwc_vals_cw_l_bit[] = { { 0x1, "Attachment Circuit Fault" }, { 0, NULL } }; - + const value_string pwc_vals_cw_r_bit[] = { @@ -98,7 +98,7 @@ void dissect_pw_padding(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) gint size; proto_item* item; size = tvb_reported_length_remaining(tvb, 0); - item = proto_tree_add_item(tree, proto_pw_padding, tvb, 0, -1, FALSE); + item = proto_tree_add_item(tree, proto_pw_padding, tvb, 0, -1, ENC_NA); pwc_item_append_text_n_items(item,size,"byte"); { proto_tree* tree_p; |