aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h248_annex_c.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2008-01-04 12:53:29 +0000
committerAnders Broman <anders.broman@ericsson.com>2008-01-04 12:53:29 +0000
commitbf7150a83479e12f9cd2753542d06b1f9e53d69f (patch)
tree65371ffe39c42a160b029e8dd3915f75e079a83b /epan/dissectors/packet-h248_annex_c.c
parenta6d82ae12e1e12dfe99dcc837a13c5485f273964 (diff)
Get rid of ber_last_created_item().
svn path=/trunk/; revision=24009
Diffstat (limited to 'epan/dissectors/packet-h248_annex_c.c')
-rw-r--r--epan/dissectors/packet-h248_annex_c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-h248_annex_c.c b/epan/dissectors/packet-h248_annex_c.c
index 98348f39d0..e8f34bb47a 100644
--- a/epan/dissectors/packet-h248_annex_c.c
+++ b/epan/dissectors/packet-h248_annex_c.c
@@ -742,7 +742,7 @@ static void dissect_h248_annexc_acodec(proto_tree* tree,
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
dissect_ber_octet_string(implicit_p ? *((gboolean*)implicit_p) : FALSE, &asn1_ctx, tree, tvb, 0, hfid, &new_tvb);
- tree = proto_item_add_subtree(get_ber_last_created_item(),ett_codec);
+ tree = proto_item_add_subtree(asn1_ctx.created_item,ett_codec);
len = tvb_length(new_tvb);
dissect_codec_mode(tree,new_tvb,0,len);
}