From 02a83915359f7fadf149df0fe0dea8e971bb32f4 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Sat, 2 Nov 2013 15:52:25 +0000 Subject: Require dissector_try_string to pass a data parameter to its subdissectors. There weren't that many calls, so might as well modify the function than create a need for dissector_try_string_new. svn path=/trunk/; revision=53049 --- epan/dissectors/packet-imf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-imf.c') diff --git a/epan/dissectors/packet-imf.c b/epan/dissectors/packet-imf.c index 5df000f3c2..b1279f2b1e 100644 --- a/epan/dissectors/packet-imf.c +++ b/epan/dissectors/packet-imf.c @@ -811,7 +811,7 @@ dissect_imf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) next_tvb = tvb_new_subset_remaining(tvb, end_offset); - dissector_try_string(media_type_dissector_table, content_type_str, next_tvb, pinfo, tree); + dissector_try_string(media_type_dissector_table, content_type_str, next_tvb, pinfo, tree, NULL); pinfo->private_data = pd_save; } else { -- cgit v1.2.3