http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=21649
User: guy
Date: 2007/05/02 07:28 PM
Log:
Immediately quit routines if fwrite() fails - further writes will
probably fail (as you're probably out of disk space or over quota), and,
even if they don't, the file's going to be corrupt in any case.
(Hopefully that's sufficient to avoid warnings that we're ignoring the
result of fwrite().)
For fread(), check for errors or short reads, at least in all cases
where we have a provision for failing if the read fails.
Directory: /trunk/gtk/
Changes Path Action
+44 -13 follow_dlg.c Modified
+18 -11 rtp_stream.c Modified