Wireshark-commits: [Wireshark-commits] master-1.12 eb33612: To see whether a string equals another
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 6 Mar 2016 18:12:24 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=eb336128167f06354afa64b654e095ec3b49ad05
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

eb33612 by Guy Harris (guy@xxxxxxxxxxxx):

    To see whether a string equals another string, just use strcmp().
    
    The goal here is to see whether out_filename is "-" or not; there's no
    good reason to use strncmp() here.
    
    Fixes Coverity CID 1316605.
    
    Change-Id: I851eee869afed58ac091982b8d303b0eda276c2e
    Reviewed-on: https://code.wireshark.org/review/14361
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 68b7b1ab57529a3a45d6d0f24445c66d79366752)
    Reviewed-on: https://code.wireshark.org/review/14363
    

Actions performed:

    from  e76c8c4   802.11: fix Length error shown for IE BSS AC Access Delay/WAPI Parameter Set (68)
    adds  eb33612   To see whether a string equals another string, just use strcmp().


Summary of changes:
 mergecap.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)