aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/dap
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 /asn1/dap
parenta67838484c96fa8f8a4cbce91f16c6f5cb1f80ee (diff)
Get rid of ber_last_created_item().
svn path=/trunk/; revision=24008
Diffstat (limited to 'asn1/dap')
-rw-r--r--asn1/dap/dap.cnf9
1 files changed, 4 insertions, 5 deletions
diff --git a/asn1/dap/dap.cnf b/asn1/dap/dap.cnf
index ed5cb71b06..d0e59a7dad 100644
--- a/asn1/dap/dap.cnf
+++ b/asn1/dap/dap.cnf
@@ -269,7 +269,6 @@ OPERATION.&ResultType
tvbuff_t *out_tvb;
int i;
int len;
- proto_item *oct_item;
%(DEFAULT_BODY)s
@@ -281,12 +280,12 @@ OPERATION.&ResultType
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,")");
}
}
}