aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-multipart.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-11-02 15:52:25 +0000
committerMichael Mann <mmann78@netscape.net>2013-11-02 15:52:25 +0000
commit02a83915359f7fadf149df0fe0dea8e971bb32f4 (patch)
tree33b0da2fee3eed9a07417a0aa7e4c2356638cd33 /epan/dissectors/packet-multipart.c
parent925cba4e91ea0f44970462d30b62533c8a100e24 (diff)
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
Diffstat (limited to 'epan/dissectors/packet-multipart.c')
-rw-r--r--epan/dissectors/packet-multipart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-multipart.c b/epan/dissectors/packet-multipart.c
index 5df778e834..b413667e02 100644
--- a/epan/dissectors/packet-multipart.c
+++ b/epan/dissectors/packet-multipart.c
@@ -743,13 +743,13 @@ process_body_part(proto_tree *tree, tvbuff_t *tvb, const guint8 *boundary,
* First try the dedicated multipart dissector table
*/
dissected = dissector_try_string(multipart_media_subdissector_table,
- content_type_str, tmp_tvb, pinfo, subtree);
+ content_type_str, tmp_tvb, pinfo, subtree, NULL);
if (! dissected) {
/*
* Fall back to the default media dissector table
*/
dissected = dissector_try_string(media_type_dissector_table,
- content_type_str, tmp_tvb, pinfo, subtree);
+ content_type_str, tmp_tvb, pinfo, subtree, NULL);
}
if (! dissected) {
const char *save_match_string = pinfo->match_string;