Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal file.c 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@xxxxxxxxxxxx>
Date: Thu, 18 May 2000 03:31:58 -0500 (CDT)
guy         2000/05/18 03:31:55 CDT

  Modified files:
    .                    file.c proto.c 
  Log:
  Have "proto_tree_is_visible" false except when we're in the middle of
  doing something that requires that the text for protocol tree entries be
  generated, i.e.
  
  	1) initialize it to FALSE;
  
  	2) have every routine that sets it clear it when it's done;
  
  	3) when printing packets, set it to TRUE only if we're not just
  	   printing packet summary lines;
  
  and then get rid of settings to FALSE made unnecessary as a result of
  those changes.
  
  This makes sure it's not set when it doesn't have to be (which causes
  the protocol tree code to format the text when it doesn't have to,
  wasting CPU time).
  
  Revision  Changes    Path
  1.187     +9 -7      ethereal/file.c
  1.65      +2 -2      ethereal/proto.c