Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan proto.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: Mon, 18 Feb 2002 16:26:30 -0600 (CST)
guy         2002/02/18 16:26:30 CST

  Modified files:
    epan                 proto.c 
  Log:
  Have "alloc_field_info()" take a pointer to the field length as an
  argument, so if the length was supplied as -1, it can set it to the
  length of data remaining in the tvbuff, so that its callers can use that
  length when getting the value for the field, rather than leaving the
  length in the "field_info" structure as -1.
  
  Revision  Changes    Path
  1.53      +56 -33    ethereal/epan/proto.c