[unix-pc.sources] Yet another version of traffic---Patch1

andy@rbdc.UUCP (Andy Pitts) (02/27/89)

It looks like it's my turn to mess up a posting.  Somehow when
I packaged this up, a pair of ()'s got removed.  This results
in the output not being in alphabetical order.  Please apply this
patch.  Sorry about that.
--------------------------------------------------------------

*** traffic.c.org	Sun Feb 26 19:48:20 1989
--- traffic.c	Sun Feb 26 19:48:43 1989
***************
*** 190,196
  			root->recv_cnt = 1;
  		}
  		root->left = root->right = (struct data *)NULL;
! 	}else	if(cond = strcmp(sys, root->sysname) == 0){
  		/* repeated system */
  		if(out){
  			root->xmit += bytes;

--- 190,196 -----
  			root->recv_cnt = 1;
  		}
  		root->left = root->right = (struct data *)NULL;
! 	}else	if((cond = strcmp(sys, root->sysname)) == 0){
  		/* repeated system */
  		if(out){
  			root->xmit += bytes;
-- 
Andy Pitts andy@rbdc.UUCP  : "The giant Gorf was hit in  one eye  by a stone,
bakerst!rbdc!andy          : and that eye  turned  inward  so  that it looked
kd4nc!gladys!rbdc!andy     : into his mind and he died of what he saw there."
pacbell!gladys!rbdc!andy   :   --_The Forgotten Beast of Eld_, McKillip--