diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-08-05 19:09:44 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-08-05 19:09:44 +0000 |
commit | f4bcbeb9f26874ab763e78056638541a5b371cde (patch) | |
tree | 0cfd0c6f58226d6d85bdc0613cdcbfc97432e228 /epan/dissectors/packet-tnef.c | |
parent | d3af98bb91b83d58b03a6264423b658af111d44b (diff) |
Keep result of [new_]register_dissector in some dissectors. [2 of x]
(don't create new dissector handle if we can use already existing one)
svn path=/trunk/; revision=51159
Diffstat (limited to 'epan/dissectors/packet-tnef.c')
-rw-r--r-- | epan/dissectors/packet-tnef.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tnef.c b/epan/dissectors/packet-tnef.c index a78be492f5..1794edb694 100644 --- a/epan/dissectors/packet-tnef.c +++ b/epan/dissectors/packet-tnef.c @@ -846,7 +846,7 @@ proto_reg_handoff_tnef(void) dissector_add_string("media_type", "application/ms-tnef", tnef_handle); /* X.400 file transfer bodypart */ - register_ber_oid_dissector("1.2.840.113556.3.10.1", dissect_tnef, proto_tnef, "id-et-tnef"); + register_ber_oid_dissector_handle("1.2.840.113556.3.10.1", tnef_handle, proto_tnef, "id-et-tnef"); dissector_add_uint("wtap_encap", WTAP_ENCAP_TNEF, tnef_file_handle); } |