Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-tcp.c packet-tcp.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:57:58 -0500 (CDT)
guy         2002/05/04 19:57:58 CDT

  Modified files:
    .                    packet-tcp.c packet-tcp.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.141     +18 -10    ethereal/packet-tcp.c
  1.11      +2 -2      ethereal/packet-tcp.h