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

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, 4 May 2002 19:58:00 -0500 (CDT)
guy         2002/05/04 19:57:59 CDT

  Modified files:
    epan                 tvbuff.c tvbuff.h 
  Log:
  Make "tvb_ensure_length_remaining()" return a "guint" - it can't return
  a negative value.
  
  Use "tvb_ensure_length_remaining()" in "tcp_dissect_pdus()", rather than
  checking the return value of "tvb_length_remaining()" ourselves, and
  make various variables and parameters in it "guint" as appropriate.
  
  Revision  Changes    Path
  1.35      +3 -2      ethereal/epan/tvbuff.c
  1.26      +2 -2      ethereal/epan/tvbuff.h