Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal 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: Sun, 17 Sep 2000 02:58:47 -0500 (CDT)
guy         2000/09/17 02:58:45 CDT

  Modified files:
    .                    file.c 
  Log:
  The correct way to check for an error (rather than an EOF) from a failed
  attempt to read from a capture file is to check whether the error
  returned was 0 - if it is, it's an EOF.  We no longer guarantee that the
  data offset supplied will be negative on an error and 0 on an EOF.
  
  Revision  Changes    Path
  1.222     +4 -4      ethereal/file.c