aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dap.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2008-01-04 12:39:52 +0000
committerAnders Broman <anders.broman@ericsson.com>2008-01-04 12:39:52 +0000
commita6d82ae12e1e12dfe99dcc837a13c5485f273964 (patch)
treef3f10ab56a6ea74a0443d3bc2f4868b94a333d5c /epan/dissectors/packet-dap.c
parenta67838484c96fa8f8a4cbce91f16c6f5cb1f80ee (diff)
Get rid of ber_last_created_item().
svn path=/trunk/; revision=24008
Diffstat (limited to 'epan/dissectors/packet-dap.c')
-rw-r--r--epan/dissectors/packet-dap.c11
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,")");
}
}
}