There's no need to keep a "FILE *" for the file being printed to in a
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 25 Jan 2004 00:58:13 +0000 (00:58 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 25 Jan 2004 00:58:13 +0000 (00:58 +0000)
commitc2eca192d53bec368916e7cb50b9b38417c251ef
tree6285e0506f94a9c4dfbf986131dd1b0f316d19bd
parent2fd2de8c9d4bc60f1be07fbdbf25d6a93574a28b
There's no need to keep a "FILE *" for the file being printed to in a
"capture_file" structure.  Keep it locally, instead.

Check for errors when printing packets.

Report failure to open a print destination and failure to write to a
print destination differently.

Don't have the "print preamble" and "print final" routines return
success/failure indications - revert to the old scheme where they
didn't, and have the callers use "ferror()" to check for errors.

Report write errors when printing dissections in Tethereal.

Report print errors as errors, not warnings.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9828 f5534014-38df-0310-8fa8-9805f1628bb7
cfile.h
file.c
file.h
gtk/follow_dlg.c
gtk/print_dlg.c
print.c
print.h
ps.h
rdps.c
tethereal.c