aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/eyesdn.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-11 22:19:01 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-11 22:19:01 +0000
commit9acdc6c844744e13808940f82401987ba6d089eb (patch)
tree511db97da501c78bd83e30b238f24d562829ba24 /wiretap/eyesdn.c
parent2fb2393df9a4b04efef6a3df610a4c8961c4bb73 (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36568 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap/eyesdn.c')
-rw-r--r--wiretap/eyesdn.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/wiretap/eyesdn.c b/wiretap/eyesdn.c
index 19bb6ee813..4f5446761e 100644
--- a/wiretap/eyesdn.c
+++ b/wiretap/eyesdn.c
@@ -126,9 +126,7 @@ static gint64 eyesdn_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;