Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk follow_dlg.c print_dlg.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: guy@xxxxxxxxxxxx (Guy Harris)
Date: Sat, 24 Jan 2004 18:58:13 -0600 (CST)
guy         2004/01/24 18:58:13 CST

  Modified files:
    gtk                  follow_dlg.c print_dlg.c 
  Log:
  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.
  
  Revision  Changes    Path
  1.37      +5 -3      ethereal/gtk/follow_dlg.c
  1.57      +22 -5     ethereal/gtk/print_dlg.c