aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/lanalyzer.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-05-23 06:10:56 +0000
committerGuy Harris <guy@alum.mit.edu>2002-05-23 06:10:56 +0000
commita0b8690230ad07647c286de514d71758696ff716 (patch)
treec1402d276cc225b708bcd6fc3b355f390bb5f7be /wiretap/lanalyzer.c
parente2630eed794a5566892329e8f7ae9b35e7791899 (diff)
downloadwireshark-a0b8690230ad07647c286de514d71758696ff716.tar.gz
wireshark-a0b8690230ad07647c286de514d71758696ff716.tar.bz2
wireshark-a0b8690230ad07647c286de514d71758696ff716.zip
The "fname" argument to "save_cap_file()", and "cf->filename" - and thus
"from_filename" - are both null-terminated strings; compare them with "strcmp", not "strncmp()". ("cf->filename" is a "char *", so "sizeof(cf->filename)" is not the right third argument to "strncmp()" in any case, as it's the size of a pointer, which is probably either 4 or 8 bytes.) Make the dialog box for "Can't save over current capture file" an ESD_TYPE_CRIT dialog box, as it's a fatal error. svn path=/trunk/; revision=5526
Diffstat (limited to 'wiretap/lanalyzer.c')
0 files changed, 0 insertions, 0 deletions