To see whether a string equals another string, just use strcmp().
authorGuy Harris <guy@alum.mit.edu>
Sun, 6 Mar 2016 18:09:56 +0000 (10:09 -0800)
committerGuy Harris <guy@alum.mit.edu>
Sun, 6 Mar 2016 18:11:12 +0000 (18:11 +0000)
commit68b7b1ab57529a3a45d6d0f24445c66d79366752
tree16b9df5d0b3c2c158a0ada95dd8b89d586985b0f
parentad3afb02c369323d83df0cd38fc790203adfd889
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@alum.mit.edu>
mergecap.c