Wireshark-commits: [Wireshark-commits] rev 49375: /trunk/wiretap/ /trunk/wiretap/: iseries.c

Date: Fri, 17 May 2013 09:37:03 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=49375

User: guy
Date: 2013/05/17 02:37 AM

Log:
 If iseries_seek_next_packet() hits the EOF, *err will be set to 0; just
 have it return -1 for errors or EOF, and have iseries_read() check for a
 negative return value and return FALSE.  That simplifies it a bit, and
 handles the "no more records in the file" case
 (iseries_seek_next_packet() will hit EOF and return -1 with *err set to
 0, which is what the callers of a read routine expect at EOF).
 
 Get rid of duplicate (and incorrect before the change) comment.

Directory: /trunk/wiretap/
  Changes    Path          Action
  +5 -13     iseries.c     Modified