Wireshark-commits: [Wireshark-commits] master d7bd2ec: Add new proto_tree_add_format_text() functio
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 19 May 2014 02:27:14 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d7bd2ecf9fc2c627d236484cee8e77e84697da07
Submitter: Evan Huus (eapache@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

d7bd2ec by Jakub Zawadzki (darkjames@xxxxxxxxxxxx):

    Add new proto_tree_add_format_text() function
    
    There are lot of text dissectors which want just to add escaped (not filtrable) text,
    add new function proto_tree_add_format_text() which just do this in optimized way.
    
    Change-Id: Ia0e189b620cc0a5b74cfdaef1ad4571d766bb2ab
    Reviewed-on: https://code.wireshark.org/review/1678
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
    

Actions performed:

    from  e6d6183   ip: display calculated checksum
    adds  d7bd2ec   Add new proto_tree_add_format_text() function


Summary of changes:
 epan/dissectors/packet-acap.c          |    4 +-
 epan/dissectors/packet-ftp.c           |    8 +--
 epan/dissectors/packet-gearman.c       |    3 +-
 epan/dissectors/packet-gift.c          |    3 +-
 epan/dissectors/packet-gsm_sms.c       |    3 +-
 epan/dissectors/packet-http.c          |    4 +-
 epan/dissectors/packet-icap.c          |    8 +--
 epan/dissectors/packet-json.c          |    2 +-
 epan/dissectors/packet-l1-events.c     |    6 +-
 epan/dissectors/packet-megaco.c        |  114 ++++++++++----------------------
 epan/dissectors/packet-mgcp.c          |    3 +-
 epan/dissectors/packet-msn-messenger.c |    4 +-
 epan/dissectors/packet-msrp.c          |    8 +--
 epan/dissectors/packet-nntp.c          |    4 +-
 epan/dissectors/packet-rtsp.c          |   12 +---
 epan/dissectors/packet-sigcomp.c       |    5 +-
 epan/dissectors/packet-sip.c           |   25 ++-----
 epan/dissectors/packet-text-media.c    |    6 +-
 epan/dissectors/packet-xml.c           |    7 +-
 epan/proto.c                           |   17 +++++
 epan/proto.h                           |    4 ++
 21 files changed, 88 insertions(+), 162 deletions(-)