/[pkg-mixmaster]/trunk/Mix/Src/stats.c
ViewVC logotype

Diff of /trunk/Mix/Src/stats.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 518 by weaselp, Mon May 19 23:57:59 2003 UTC revision 535 by weaselp, Fri Jun 27 10:52:11 2003 UTC
# Line 6  Line 6 
6     details.     details.
7    
8     Remailer statistics     Remailer statistics
9     $Id: stats.c,v 1.21 2003/05/19 23:57:59 weaselp Exp $ */     $Id: stats.c,v 1.22 2003/06/27 10:52:11 weaselp Exp $ */
10    
11    
12  #include "mix3.h"  #include "mix3.h"
# Line 120  int stats(BUFFER *b) Line 120  int stats(BUFFER *b)
120            poold[0][(now - then) / (60 * 60)] += num;            poold[0][(now - then) / (60 * 60)] += num;
121            poold[1][(now - then) / (60 * 60)] += i;            poold[1][(now - then) / (60 * 60)] += i;
122          } else if (today - then < 80 * SECONDSPERDAY) {          } else if (today - then < 80 * SECONDSPERDAY) {
123            poold[0][(today - then) / (24 * 60 * 60)] += num;            pool[0][(today - then) / (24 * 60 * 60)] += num;
124            poold[1][(today - then) / (24 * 60 * 60)] += i;            pool[1][(today - then) / (24 * 60 * 60)] += i;
125          }          }
126          if (havestats == 0 || then < havestats)          if (havestats == 0 || then < havestats)
127            havestats = then;            havestats = then;

Legend:
Removed from v.518  
changed lines
  Added in v.535

  ViewVC Help
Powered by ViewVC 1.1.5