aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-jxta.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-11-09 17:33:18 +0000
committerBill Meier <wmeier@newsguy.com>2011-11-09 17:33:18 +0000
commit30cee9900941e991a3c52285dbdd0751b13a0254 (patch)
tree76f458700590551327e10da71a61e8c55cb9826f /epan/dissectors/packet-jxta.c
parent4052a406f3b8bd04994290c8c6e7fd0c0ad2e823 (diff)
Fix a number of proto_tree_add_item() encoding args.
svn path=/trunk/; revision=39774
Diffstat (limited to 'epan/dissectors/packet-jxta.c')
-rw-r--r--epan/dissectors/packet-jxta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-jxta.c b/epan/dissectors/packet-jxta.c
index 82a9c79346..a0a40e8d41 100644
--- a/epan/dissectors/packet-jxta.c
+++ b/epan/dissectors/packet-jxta.c
@@ -947,7 +947,7 @@ static int dissect_jxta_welcome(tvbuff_t * tvb, packet_info * pinfo, proto_tree
if (jxta_welcome_tree) {
jxta_welcome_tree_item = proto_tree_add_item(jxta_welcome_tree,
(each_variable_token < (variable_tokens -1) ? hf_jxta_welcome_variable : hf_jxta_welcome_version),
- tvb, token_offset, (gint) strlen(*current_token), FALSE);
+ tvb, token_offset, (gint) strlen(*current_token), ENC_ASCII|ENC_NA);
proto_item_append_text(jxta_welcome_tree_item, " (UNRECOGNIZED)");
}