Wireshark-commits: [Wireshark-commits] master 62276f7: TPNCP: Avoid multiple registration of prefer

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 14 Jan 2020 22:04:03 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=62276f79a22fd925e270741fd797aa4720eb6105
Submitter: "Pascal Quantin <pascal@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

62276f7 by Orgad Shaneh (orgad.shaneh@xxxxxxxxxxxxxx):

    TPNCP: Avoid multiple registration of preferences
    
    dissector_add_uint_with_preference should not be called more than once for
    the same dissector and same name.
    
    Change-Id: I82331ec61c36690d28f541dedc974cd6e7c465e7
    Reviewed-on: https://code.wireshark.org/review/35810
    Petri-Dish: Pascal Quantin <pascal@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Pascal Quantin <pascal@xxxxxxxxxxxxx>
    

Actions performed:

    from  9a5eb26   macOS: Force-sign Sparkle's AutoUpdate.app.
     add  62276f7   TPNCP: Avoid multiple registration of preferences


Summary of changes:
 epan/dissectors/packet-tpncp.c | 31 ++++++++++++++++++++-----------
 1 file changed, 20 insertions(+), 11 deletions(-)