Wireshark-commits: [Wireshark-commits] master 89e61b9: Save the result of tvb_reported_length_remai
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 12 May 2014 21:49:02 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=89e61b9b37daf9226217d7dd2cff1e6e2e5c3b7f
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

89e61b9 by AndersBroman (anders.broman@xxxxxxxxxxxx):

    Save the result of tvb_reported_length_remaining() and use it to reduce the number of calls to tvb_reported_length_remaining().
    
    Change-Id: I6c110d7d995e4c771bbeea9013d867c46ca96778
    Reviewed-on: https://code.wireshark.org/review/1613
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  d7befa8   Fix copy-and-paste error with cause value_strings, and change indentation to match generated code
    adds  89e61b9   Save the result of tvb_reported_length_remaining() and use it to reduce the number of calls to tvb_reported_length_remaining().


Summary of changes:
 epan/dissectors/packet-sip.c |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)