Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan tvbuff.c

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxx>
Date: Sun, 28 Sep 2003 16:39:53 -0500 (CDT)
guy         2003/09/28 16:39:53 CDT

  Modified files:
    epan                 tvbuff.c 
  Log:
  "compute_offset_length()" must, if it returns FALSE, and "exception" is
  non-null, set "*exception" to the appropriate exception - its callers
  rely on it.
  
  Now that it does that, there's no need for "check_offset_length()" to
  check for a length of -1, as "compute_offset_length()" does so, and
  therefore "check_offset_length_no_exception()" does so.
  
  Revision  Changes    Path
  1.51      +5 -5      ethereal/epan/tvbuff.c