Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal/wiretap file.c

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Wed, 18 Aug 1999 12:49:40 -0500 (CDT)
guy         1999/08/18 12:49:37 CDT

  Modified files:
    wiretap              file.c 
  Log:
  In "wtap_dump_close()", don't shove the return value of "fclose()" into
  the variable for the return value of "wtap_dump_close()", just check it
  against EOF; shoving it into "ret" means it gets set to 0 on a
  successful close, but a return value of 0 means "wtap_dump_close()"
  failed.
  
  Revision  Changes    Path
  1.16      +2 -3      ethereal/wiretap/file.c