Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal ncp2222.py ptvcursor.h

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

From: Gilbert Ramirez <gram@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 20 Feb 2002 16:27:23 -0600 (CST)
gram        2002/02/20 16:27:22 CST

  Modified files:        (Branch: Novell_NCP_branch)
    .                    ncp2222.py ptvcursor.h 
  Log:
  Don't define PTVC_VARIABLE_LENGTH because in practice, it's not used.
  
  Do define PROTO_LENGTH_UNTIL_END, which is -1, as a macro to use
  in proto.c and packet-ncp2222.c. It makes reading the code a little easier,
  as you know what the magic number -1 means.
  
  Allow FT_STRINGZ types to have lengths of -1 (or rather, PROTO_LENGTH_UNTIL_END).
  Change the code in proto_tree_add_item() to handle this case.
  
  Revision  Changes    Path
  1.14.2.6  +16 -8     ethereal/ncp2222.py
  1.5.2.1   +1 -3      ethereal/ptvcursor.h