Wireshark-commits: [Wireshark-commits] master 737e2d7: file.c: do not rescan packets is no capture
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 29 Sep 2015 23:58:45 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=737e2d7800e450d8d3980aba0472101bd05dbd16
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

737e2d7 by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    file.c: do not rescan packets is no capture file is opened
    
    Otherwise we will end up calling cf_cb_file_rescan_started and cf_cb_file_rescan_finished callbacks while no capture file is available
    
    Bug: 11552
    Change-Id: Ib6fd7b13ce1b083d5f5b4e05d80152112c1451f6
    Reviewed-on: https://code.wireshark.org/review/10692
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  c2f0cd5   Add back DIRTY_CORBA_IDL_DISSECTOR_SRC.
    adds  737e2d7   file.c: do not rescan packets is no capture file is opened


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