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

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: Sat, 21 Aug 1999 21:52:57 -0500 (CDT)
guy         1999/08/21 21:52:53 CDT

  Modified files:
    wiretap              wtap.c wtap.h 
  Log:
  Add a "wtap_strerror()" routine, which takes as an argument an error
  code supplied by a Wiretap routine (whether a positive UNIX "errno" code
  or a negative Wiretap error code), and returns an error message
  corresponding to it.
  
  Use that to construct the message Ethereal put up in a message box for
  those errors for which we don't have Ethereal put up a message of its
  choice.
  
  Revision  Changes    Path
  1.16      +36 -1     ethereal/wiretap/wtap.c
  1.32      +2 -1      ethereal/wiretap/wtap.h