Wireshark-commits: [Wireshark-commits] master 08ef8f1: Just extract the title length once.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 15 Jun 2018 04:08:43 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=08ef8f1326b8206a7234c70d836b90d9ed778676
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

08ef8f1 by Guy Harris (guy@xxxxxxxxxxxx):

    Just extract the title length once.
    
    Extract it into title_length before checking it, and then check the
    value of title_length.
    
    Change-Id: I7f2c334dbce5eeaa12cd5d8bb8e289852fd15c4f
    Reviewed-on: https://code.wireshark.org/review/28282
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  1e84591   Fix some "bad file" messages.
    adds  08ef8f1   Just extract the title length once.


Summary of changes:
 wiretap/netmon.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)