diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-01-04 12:39:52 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-01-04 12:39:52 +0000 |
commit | 0fda28d0bc48e171a4c31c582ada1024bcbc5d91 (patch) | |
tree | f3f10ab56a6ea74a0443d3bc2f4868b94a333d5c /epan/dissectors/packet-dap.c | |
parent | cae894382b014723568a8f11ed3c4a3a4bd103e7 (diff) |
Get rid of ber_last_created_item().
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24008 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dap.c')
-rw-r--r-- | epan/dissectors/packet-dap.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/epan/dissectors/packet-dap.c b/epan/dissectors/packet-dap.c index b2a79dd2f0..fc29fee5e7 100644 --- a/epan/dissectors/packet-dap.c +++ b/epan/dissectors/packet-dap.c @@ -1,7 +1,7 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-dap.c */ -/* ../../tools/asn2wrs.py -b -e -X -T -L -p dap -c dap.cnf -s packet-dap-template dap.asn DirectoryAccessProtocol.asn */ +/* ../../tools/asn2wrs.py -b -e -L -p dap -c dap.cnf -s packet-dap-template dap.asn DirectoryAccessProtocol.asn */ /* Input file: packet-dap-template.c */ @@ -1566,7 +1566,6 @@ dissect_dap_T_pagedResultsQueryReference(gboolean implicit_tag _U_, tvbuff_t *tv tvbuff_t *out_tvb; int i; int len; - proto_item *oct_item; offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index, &out_tvb); @@ -1580,12 +1579,12 @@ dissect_dap_T_pagedResultsQueryReference(gboolean implicit_tag _U_, tvbuff_t *tv break; if(i == len) { - if((oct_item = get_ber_last_created_item())) { + if(actx->created_item) { - proto_item_append_text(oct_item," ("); + proto_item_append_text(actx->created_item," ("); for(i=0; i<len; i++) - proto_item_append_text(oct_item,"%c",tvb_get_guint8(out_tvb,i)); - proto_item_append_text(oct_item,")"); + proto_item_append_text(actx->created_item,"%c",tvb_get_guint8(out_tvb,i)); + proto_item_append_text(actx->created_item,")"); } } } |