Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-slimp3.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: Fri, 1 Feb 2002 20:59:24 -0600 (CST)
guy         2002/02/01 20:59:24 CST

  Modified files:
    .                    packet-slimp3.c 
  Log:
  Use "tvb_offset_exists()" rather than "tvb_length_remaining()" in a loop
  scanning the tvbuff.  Also use "tvb_offset_exists()" before accessing
  the tvbuff in that loop; the loop is only building the Info column, so
  it shouldn't throw an exception before building the list.
  
  (XXX - it should arguably all be done in one loop, with the Info column
  built on the fly.)
  
  Revision  Changes    Path
  1.4       +22 -12    ethereal/packet-slimp3.c