Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] rev 37054: /trunk/wiretap/ /trunk/wiretap/: nettl.c

Date: Tue, 10 May 2011 21:53:14 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=37054

User: guy
Date: 2011/05/10 02:53 PM

Log:
 file_read() can return -1; don't just blindly add it to a previous
 file_read() return value.  Use wtap_file_read_expected_bytes() in a
 number of places.

Directory: /trunk/wiretap/
  Changes    Path          Action
  +36 -23    nettl.c       Modified