diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-04-11 22:19:01 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-04-11 22:19:01 +0000 |
commit | f5f74bed3d73813a2b1ddffa5c58e463060cf602 (patch) | |
tree | 511db97da501c78bd83e30b238f24d562829ba24 /wiretap/airopeek9.c | |
parent | 35c66a174546c5a4a143e00a91119cd3088ca3d9 (diff) | |
download | wireshark-f5f74bed3d73813a2b1ddffa5c58e463060cf602.tar.gz |
Use ws_open(), not open(), so we handle UTF-8 pathnames on Windows.
Update or remove some additional "we don't have ferror() in zlib"
comments to reflect the current reality.
svn path=/trunk/; revision=36568
Diffstat (limited to 'wiretap/airopeek9.c')
-rw-r--r-- | wiretap/airopeek9.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/wiretap/airopeek9.c b/wiretap/airopeek9.c index d0cd533c51..cea053c077 100644 --- a/wiretap/airopeek9.c +++ b/wiretap/airopeek9.c @@ -107,9 +107,6 @@ static int wtap_file_read_pattern (wtap *wth, const char *pattern, int *err) if (file_eof(wth->fh)) return 0; /* EOF */ else { - /* We (presumably) got an error (there's no equivalent to - "ferror()" in zlib, alas, so we don't have a wrapper - to check for an error). */ *err = file_error(wth->fh); return -1; /* error */ } |