diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-05-12 17:14:36 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-05-12 17:14:36 +0000 |
commit | 21363344ec09df199680642fd3de227cefb7afb6 (patch) | |
tree | fdb76daaf1575b8b361f43ccd76414b8c5aade99 /epan/dissectors/packet-x25.c | |
parent | 2d6cd58f91af63a45eaaaddc648af3078e1a833f (diff) |
Add text to fac_subtree instead of fac_tree. Fixes Coverity CID 1129.
svn path=/trunk/; revision=37083
Diffstat (limited to 'epan/dissectors/packet-x25.c')
-rw-r--r-- | epan/dissectors/packet-x25.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-x25.c b/epan/dissectors/packet-x25.c index 7d36092beb..497c64b992 100644 --- a/epan/dissectors/packet-x25.c +++ b/epan/dissectors/packet-x25.c @@ -778,7 +778,7 @@ dump_facilities(proto_tree *tree, int *offset, tvbuff_t *tvb) "(Called address modified)", fac); fac_subtree = proto_item_add_subtree(ti, ett_x25_fac_called_modif); - proto_tree_add_text(fac_tree, tvb, *offset+1, 1, + proto_tree_add_text(fac_subtree, tvb, *offset+1, 1, "Parameter %02X", tvb_get_guint8(tvb, *offset+1)); } break; |