Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk main.c packet_win.c proto_draw.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:35 -0600 (CST)
guy         2001/11/20 03:07:35 CST

  Modified files:
    gtk                  main.c packet_win.c proto_draw.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.211     +3 -2      ethereal/gtk/main.c
  1.23      +6 -4      ethereal/gtk/packet_win.c
  1.39      +14 -6     ethereal/gtk/proto_draw.c