aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/mms
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2007-08-24 07:12:04 +0000
committerJörg Mayer <jmayer@loplof.de>2007-08-24 07:12:04 +0000
commitb312e64f6a6cec4782e8198396e906c581a86d82 (patch)
tree565a079aab3cf001d87d828937a93b3bc752c581 /asn1/mms
parent1f06d6542407b97c877b8c8c16a36e8c2ca3a1d5 (diff)
get_ber_length doesn't need the tree argument, get rid of it.
Rebuild asn1 dissectors. svn path=/trunk/; revision=22627
Diffstat (limited to 'asn1/mms')
-rw-r--r--asn1/mms/mms-exp.cnf2
-rw-r--r--asn1/mms/packet-mms-template.c2
2 files changed, 2 insertions, 2 deletions
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;