diff options
author | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-10-30 16:00:30 +0000 |
---|---|---|
committer | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-10-30 16:00:30 +0000 |
commit | cdbed59eff51907f8661e7015dc8b5c2173e910f (patch) | |
tree | 96ced51f0ba70bc067960c979a5243c43d4a52d7 /epan/dissectors/packet-ber.c | |
parent | 6062ad9bd603eb5deda8b5a3001b47e839928f22 (diff) |
Rev 29427 added packet_add_new_data_source() with a comment indicating that
the data source does not need to be allocated if (!tree).
Rev 30158 took the if (!tree) check out indicating that the check was invalid.
So: (since packet_add_new_data_source() now only calls add_new_data_source()),
remove packet_add_new_data_source().
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34717 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ber.c')
-rw-r--r-- | epan/dissectors/packet-ber.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ber.c b/epan/dissectors/packet-ber.c index 037ea32588..6ac4915c9e 100644 --- a/epan/dissectors/packet-ber.c +++ b/epan/dissectors/packet-ber.c @@ -1215,7 +1215,7 @@ reassemble_octet_string(asn1_ctx_t *actx, proto_tree *tree, gint hf_id, tvbuff_t actx->created_item = proto_tree_add_item(tree, hf_id, reassembled_tvb, 0, -1, FALSE); next_tree = proto_item_add_subtree (actx->created_item, ett_ber_reassembled_octet_string); - packet_add_new_data_source(actx->pinfo, next_tree, reassembled_tvb, "Reassembled OCTET STRING"); + add_new_data_source(actx->pinfo, reassembled_tvb, "Reassembled OCTET STRING"); show_fragment_seq_tree(fd_head, &octet_string_frag_items, next_tree, actx->pinfo, reassembled_tvb, &frag_tree_item); } } |