aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/iseries.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-04-11 22:19:01 +0000
committerGuy Harris <guy@alum.mit.edu>2011-04-11 22:19:01 +0000
commitf5f74bed3d73813a2b1ddffa5c58e463060cf602 (patch)
tree511db97da501c78bd83e30b238f24d562829ba24 /wiretap/iseries.c
parent35c66a174546c5a4a143e00a91119cd3088ca3d9 (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/iseries.c')
-rw-r--r--wiretap/iseries.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/iseries.c b/wiretap/iseries.c
index 47a02f3969..c92fe1b562 100644
--- a/wiretap/iseries.c
+++ b/wiretap/iseries.c
@@ -427,12 +427,12 @@ iseries_seek_next_packet (wtap * wth, int *err)
{
if (file_eof (wth->fh))
{
+ /* 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;