Subject: [102] Xferstats System count always 0

From: Ric Anderson <[email-masked]>
Date: Mon, 04 Jul 1994 17:53:01 -0700

The util/xferstats that comes with wu-ftpd 2.4 always produces a count
of zero for "Systems Using Archives", because the array whose size is
printed ("$systemfiles") never gets anything stored in it.

The attached patch (tested by Bob Fillmore ([email-masked]) and
myself) seems to fix this problem,
Ric (<[email-masked]> "Ric Anderson", speaking for himself)
===================================================================
RCS file: /usr/local/src/wu-ftpd/util/RCS/xferstats,v
retrieving revision 1.3
diff -c -r1.3 /usr/local/src/wu-ftpd/util/xferstats
*** /tmp/T0a003NH	Mon Jul  4 17:48:12 1994
--- /usr/local/src/wu-ftpd/util/xferstats	Sat Jul  2 17:32:38 1994
***************
*** 86,91 ****
--- 86,92 ----
  	}
  
     $line[6] =~ tr/A-Z/a-z/;
+    $systemfiles{$line[6]}++;
  
     @address = split(/\./, $line[6]);