Wireshark-commits: [Wireshark-commits] master 483e459: Do some cleanup related to deprecated functi
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=483e459a7e6a4474cef2e5dd31bc4d96304446b0
Submitter: Bill Meier (wmeier@xxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
483e459 by Bill Meier (wmeier@xxxxxxxxxxx):
Do some cleanup related to deprecated function names and revised function return values):
- tvb_length_remaining() ==> tvb_captured_length_remaining();
- tvb_ensure_length_remaining() ==> tvb_ensure_captured_length_remaining();
- tvb_(captured|reported)_length_remaining() now return 0 instead of -1 if error
and thus MAX(0, ...) is no longer required;
- Rename variable: length_remaining ==> captured_length_remaining;
- tabs ==> spaces (to match editor modelines).
Change-Id: I93b947a0a4cc52ccd2ad21c914abf4c4218b59e6
Reviewed-on: https://code.wireshark.org/review/1610
Reviewed-by: Bill Meier <wmeier@xxxxxxxxxxx>
Actions performed:
from d1d5caa Fix tshark -z follow,tcp stats regression when TCP stream index is > 0
adds 483e459 Do some cleanup related to deprecated function names and revised function return values):
Summary of changes:
epan/dissectors/packet-tcp.c | 67 +++++++++++++++++++++---------------------
1 file changed, 34 insertions(+), 33 deletions(-)