Wireshark-commits: [Wireshark-commits] master 8bc294c: Replace more deprecated tvb_length calls
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 23 Jun 2015 18:25:58 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8bc294c0d12e742d8c539177a683eff16653b31b Submitter: Evan Huus (eapache@xxxxxxxxx) Changed: branch: master Repository: wireshark Commits: 8bc294c by Evan Huus (eapache@xxxxxxxxx): Replace more deprecated tvb_length calls The return values of new-style dissectors always use the captured length, so replace those automagically with sed. Change-Id: Ic43072ee4a80d433cd4264444583a0e670adc26a Reviewed-on: https://code.wireshark.org/review/9065 Reviewed-by: Evan Huus <eapache@xxxxxxxxx> Actions performed: from d7b286c Qt: Be less aggressive about reselecting packets. adds 8bc294c Replace more deprecated tvb_length calls Summary of changes: epan/dissectors/packet-gnutella.c | 6 +++--- epan/dissectors/packet-gopher.c | 2 +- epan/dissectors/packet-hazelcast.c | 4 ++-- epan/dissectors/packet-hdfs.c | 4 ++-- epan/dissectors/packet-hdfsdata.c | 4 ++-- epan/dissectors/packet-hsrp.c | 2 +- epan/dissectors/packet-http-urlencoded.c | 2 +- epan/dissectors/packet-icep.c | 2 +- epan/dissectors/packet-iec104.c | 6 +++--- epan/dissectors/packet-ifcp.c | 4 ++-- epan/dissectors/packet-infiniband_sdp.c | 2 +- epan/dissectors/packet-ipdc.c | 4 ++-- epan/dissectors/packet-ipsec-tcp.c | 2 +- epan/dissectors/packet-isis-hello.c | 6 +++--- epan/dissectors/packet-isis-snp.c | 8 ++++---- epan/dissectors/packet-isns.c | 6 +++--- epan/dissectors/packet-kdsp.c | 4 ++-- epan/dissectors/packet-knet.c | 4 ++-- epan/dissectors/packet-kpasswd.c | 4 ++-- epan/dissectors/packet-l1-events.c | 2 +- epan/dissectors/packet-laplink.c | 6 +++--- epan/dissectors/packet-ldp.c | 4 ++-- epan/dissectors/packet-ldss.c | 4 ++-- epan/dissectors/packet-llrp.c | 4 ++-- epan/dissectors/packet-lltd.c | 2 +- epan/dissectors/packet-lmp.c | 6 +++--- epan/dissectors/packet-lsc.c | 4 ++-- epan/dissectors/packet-ltp.c | 2 +- epan/dissectors/packet-macsec.c | 2 +- epan/dissectors/packet-mbtcp.c | 12 ++++++------ epan/dissectors/packet-memcache.c | 6 +++--- epan/dissectors/packet-mojito.c | 2 +- epan/dissectors/packet-moldudp.c | 2 +- epan/dissectors/packet-moldudp64.c | 2 +- epan/dissectors/packet-mongo.c | 4 ++-- epan/dissectors/packet-mpls-echo.c | 2 +- epan/dissectors/packet-mrcpv2.c | 2 +- epan/dissectors/packet-msrp.c | 2 +- epan/dissectors/packet-nbd.c | 10 +++++----- epan/dissectors/packet-nbipx.c | 2 +- epan/dissectors/packet-nbt.c | 8 ++++---- epan/dissectors/packet-ncp.c | 4 ++-- epan/dissectors/packet-ndmp.c | 12 ++++++------ epan/dissectors/packet-ndps.c | 6 +++--- epan/dissectors/packet-netsync.c | 6 +++--- epan/dissectors/packet-oicq.c | 2 +- epan/dissectors/packet-olsr.c | 2 +- epan/dissectors/packet-omron-fins.c | 16 ++++++++-------- epan/dissectors/packet-openvpn.c | 8 ++++---- epan/dissectors/packet-openwire.c | 6 +++--- epan/dissectors/packet-pw-atm.c | 4 ++-- epan/dissectors/packet-qllc.c | 4 ++-- epan/dissectors/packet-scop.c | 4 ++-- epan/dissectors/packet-sflow.c | 2 +- epan/dissectors/packet-sigcomp.c | 4 ++-- epan/dissectors/packet-simulcrypt.c | 4 ++-- epan/dissectors/packet-ymsg.c | 2 +- 57 files changed, 126 insertions(+), 126 deletions(-)
- Prev by Date: [Wireshark-commits] master d7b286c: Qt: Be less aggressive about reselecting packets.
- Next by Date: [Wireshark-commits] master 0901e26: Qt: change default behavior of 'Decode As' window
- Previous by thread: [Wireshark-commits] master d7b286c: Qt: Be less aggressive about reselecting packets.
- Next by thread: [Wireshark-commits] master 0901e26: Qt: change default behavior of 'Decode As' window
- Index(es):