diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-10-10 19:10:13 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-10-10 19:10:13 +0000 |
commit | b37eaa992002458b674ff7ef0d19c84ba664818a (patch) | |
tree | eef74d4f68122ac17653ae4b475c9d79d334fc8e /epan/dissectors/packet-jxta.c | |
parent | 372a8191bf7e268a2b9554b2d2b1c23b1287dede (diff) |
Fix a benign bug in proto_tree_add_item() 'encoding' arg.
svn path=/trunk/; revision=39341
Diffstat (limited to 'epan/dissectors/packet-jxta.c')
-rw-r--r-- | epan/dissectors/packet-jxta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-jxta.c b/epan/dissectors/packet-jxta.c index 21235b49db..0e67fd8dd0 100644 --- a/epan/dissectors/packet-jxta.c +++ b/epan/dissectors/packet-jxta.c @@ -1080,7 +1080,7 @@ static int dissect_jxta_message_framing(tvbuff_t * tvb, packet_info * pinfo, pro /* * Put header name into the protocol tree */ - proto_tree_add_item(framing_header_tree, hf_jxta_framing_header_name, tvb, tree_offset, 1, headernamelen); + proto_tree_add_item(framing_header_tree, hf_jxta_framing_header_name, tvb, tree_offset, sizeof(gint8), ENC_BIG_ENDIAN); /* * Append header name into the header protocol item. It's a nice hint so you don't have to reveal all headers. |