summaryrefslogtreecommitdiff
path: root/wiretap/airopeek9.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-04-11 22:11:44 +0000
committerGuy Harris <guy@alum.mit.edu>2011-04-11 22:11:44 +0000
commit35c66a174546c5a4a143e00a91119cd3088ca3d9 (patch)
tree58655f6c27c7514ce1c05bec9af3d3da7c358d33 /wiretap/airopeek9.c
parente7a23fb4fe77d4253cda4398ab294ea3f59c7430 (diff)
downloadwireshark-35c66a174546c5a4a143e00a91119cd3088ca3d9.tar.gz
Remove a no-longer-valid comment (we're not using zlib's I/O routines,
and the routines we're now using guarantee that an error has occured in that case). svn path=/trunk/; revision=36567
Diffstat (limited to 'wiretap/airopeek9.c')
-rw-r--r--wiretap/airopeek9.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/wiretap/airopeek9.c b/wiretap/airopeek9.c
index f01ae32430..d0cd533c51 100644
--- a/wiretap/airopeek9.c
+++ b/wiretap/airopeek9.c
@@ -142,9 +142,6 @@ static int wtap_file_read_till_separator (wtap *wth, char *buffer, int buflen,
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 */
}