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/dbs-etherwatch.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/dbs-etherwatch.c')
-rw-r--r-- | wiretap/dbs-etherwatch.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wiretap/dbs-etherwatch.c b/wiretap/dbs-etherwatch.c index d46a2547bd..b6d6b14bad 100644 --- a/wiretap/dbs-etherwatch.c +++ b/wiretap/dbs-etherwatch.c @@ -128,8 +128,7 @@ static gint64 dbs_etherwatch_seek_next_packet(wtap *wth, int *err) /* We got an EOF. */ *err = 0; } 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). */ + /* We got an error. */ *err = file_error(wth->fh); } return -1; |