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: Tue, 20 Nov 2001 03:07:33 -0600 (CST)
guy         2001/11/20 03:07:33 CST

  Modified files:
    epan                 proto.c 
  Log:
  Allow the tvbuff pointer to various "proto_tree_add" routines to be null
  if (and only if) the length of the item being added is 0 (so that it has
  no data backing it).
  
  This means the data stream name pointer for the item in question is
  null; make sure we handle that.
  
  Use that for some "uses the value from the matching request" fields in
  the SMB Pipe protocol.
  
  Revision  Changes    Path
  1.43      +14 -3     ethereal/epan/proto.c