Wireshark-commits: [Wireshark-commits] master-2.0 5d4058b: To see whether a string equals another s

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 6 Mar 2016 18:11:54 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5d4058bac37bd244cc8cd10c1c7cabb161d21c84
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

5d4058b 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/14362
    

Actions performed:

    from  edb3680   dmp: Show correct uncompressed user data length
    adds  5d4058b   To see whether a string equals another string, just use strcmp().


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