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/cosine.c | |
parent | 35c66a174546c5a4a143e00a91119cd3088ca3d9 (diff) |
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/cosine.c')
-rw-r--r-- | wiretap/cosine.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/wiretap/cosine.c b/wiretap/cosine.c index 42e11d384d..7ffeca88a8 100644 --- a/wiretap/cosine.c +++ b/wiretap/cosine.c @@ -226,10 +226,7 @@ static gint64 cosine_seek_next_packet(wtap *wth, int *err, char *hdr) /* 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); } break; |