Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal capture.c

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: Sat, 28 Dec 2002 19:19:09 -0600 (CST)
guy         2002/12/28 19:19:09 CST

  Modified files:
    .                    capture.c 
  Log:
  "&magic" is a "guint32 *", so adding a byte count to it points that
  number of *32-bit words* into the magic number, not that number of
  *bytes* into the magic number; cast it to "char *" before adding the
  byte count.
  
  Revision  Changes    Path
  1.198     +2 -2      ethereal/capture.c