Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/wiretap libpcap.c netmon.c netxray.c ngsniff

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 24 Aug 2001 22:18:49 -0500 (CDT)
guy         2001/08/24 22:18:49 CDT

  Modified files:
    wiretap              libpcap.c netmon.c netxray.c ngsniffer.c 
                         snoop.c wtap-int.h 
  Log:
  The return value from "fwrite()" is a "size_t"; make the variable into
  which we store it a "size_t", and then fix up the bugs that were
  revealed by the compiler warnings that produced - "fwrite()" returns 0,
  not a negative number, on an I/O error.
  
  Fix up some other items to have type "size_t", or to have various
  unsigned types, while we're at it, to squelch compiler warnings.
  
  Revision  Changes    Path
  1.50      +8 -8      ethereal/wiretap/libpcap.c
  1.40      +12 -12    ethereal/wiretap/netmon.c
  1.40      +7 -7      ethereal/wiretap/netxray.c
  1.66      +11 -11    ethereal/wiretap/ngsniffer.c
  1.36      +4 -4      ethereal/wiretap/snoop.c
  1.13      +5 -5      ethereal/wiretap/wtap-int.h