Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal proto_hier_stats.c

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

Date Next Thread Next
From: Gilbert Ramirez Jr. <gram@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 2 Jan 2002 14:23:46 -0600 (CST)
gram        2002/01/02 14:23:46 CST

  Modified files:
    .                    proto_hier_stats.c 
  Log:
  A proper fix for pulling the header_field_info* from a stat_node.
  Gerald's fix wasn't the real problem; the original code was wrong in
  treating a GNode containing a ph_stats_node_t as a GNode that is part
  of a proto_tree; it worked because of the coincidental layout of the
  two structs.
  
  Now the code has been fixed, and some macros have been added for
  accessing the GNodes and some variables renamed so that the code
  is clearer.
  
  Revision  Changes    Path
  1.10      +20 -17    ethereal/proto_hier_stats.c