Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal tethereal.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:35:07 -0500 (CDT)
guy         2000/05/18 03:35:04 CDT

  Modified files:
    .                    tethereal.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.27      +7 -1      ethereal/tethereal.c