From b312e64f6a6cec4782e8198396e906c581a86d82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Mayer?= Date: Fri, 24 Aug 2007 07:12:04 +0000 Subject: get_ber_length doesn't need the tree argument, get rid of it. Rebuild asn1 dissectors. svn path=/trunk/; revision=22627 --- asn1/mms/mms-exp.cnf | 2 +- asn1/mms/packet-mms-template.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'asn1/mms') diff --git a/asn1/mms/mms-exp.cnf b/asn1/mms/mms-exp.cnf index 3e09cbd9aa..2eb5960f9b 100644 --- a/asn1/mms/mms-exp.cnf +++ b/asn1/mms/mms-exp.cnf @@ -1,6 +1,6 @@ # Do not modify this file. # It is created automatically by the ASN.1 to Wireshark dissector compiler -# .\mms-exp.cnf +# ./mms-exp.cnf # ../../tools/asn2wrs.py -b -X -T -e -p mms -c mms.cnf -s packet-mms-template mms.asn #.MODULE diff --git a/asn1/mms/packet-mms-template.c b/asn1/mms/packet-mms-template.c index 9026e1bf56..d59c4d94d4 100644 --- a/asn1/mms/packet-mms-template.c +++ b/asn1/mms/packet-mms-template.c @@ -152,7 +152,7 @@ dissect_mms_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) /* MMS requires length after tag so not MMS if indefinite length*/ return FALSE; - offset = get_ber_length(NULL, tvb, offset, &length, NULL); + offset = get_ber_length(tvb, offset, &length, NULL); /* do we have enough bytes? */ if (!tvb_bytes_exist(tvb, offset, length)) return FALSE; -- cgit v1.2.3