Wireshark-commits: [Wireshark-commits] master b7ef891: Replace tvb_get_ptr calls with a better API

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 3 Mar 2015 09:02:30 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b7ef891af868b6026391d3473c0b43e7229e5b31
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

b7ef891 by Michael Mann (mmann78@xxxxxxxxxxxx):

    Replace tvb_get_ptr calls with a better API choice.
    
    Just reduces the overall tvb_get_ptr usage count in the dissector directory.
    
    Change-Id: I455dc4cc9b082ecccdd254a2e5121f3353b5a812
    Reviewed-on: https://code.wireshark.org/review/7491
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  599dd4f   Qt: Do not close file while trying to open new one
    adds  b7ef891   Replace tvb_get_ptr calls with a better API choice.


Summary of changes:
 asn1/t38/packet-t38-template.c          |    2 +-
 epan/dissectors/packet-ansi_a.c         |    5 +---
 epan/dissectors/packet-babel.c          |   33 +++++++++++--------------
 epan/dissectors/packet-dtls.c           |    2 +-
 epan/dissectors/packet-ecp-oui.c        |    7 +-----
 epan/dissectors/packet-erf.c            |   23 +++++++-----------
 epan/dissectors/packet-eth.c            |   12 +++++-----
 epan/dissectors/packet-l2tp.c           |    5 +---
 epan/dissectors/packet-mac-lte.c        |   40 +++++++++++++------------------
 epan/dissectors/packet-osi-options.c    |    2 +-
 epan/dissectors/packet-ositp.c          |   18 +++++---------
 epan/dissectors/packet-pana.c           |    6 ++---
 epan/dissectors/packet-qnet6.c          |    5 ++--
 epan/dissectors/packet-rlc-lte.c        |    4 +---
 epan/dissectors/packet-s7comm_szl_ids.c |   12 ++++------
 epan/dissectors/packet-t38.c            |    2 +-
 epan/dissectors/packet-ua.c             |    4 +---
 epan/dissectors/packet-vines.c          |    4 +---
 18 files changed, 70 insertions(+), 116 deletions(-)