/[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 142 by weaselp, Sun Aug 18 06:08:27 2002 UTC revision 143 by rabbi, Tue Aug 20 18:46:33 2002 UTC
# Line 6  Line 6 
6     details.     details.
7    
8     Remailer statistics     Remailer statistics
9     $Id: stats.c,v 1.7 2002/08/18 06:08:27 weaselp Exp $ */     $Id: stats.c,v 1.8 2002/08/20 18:46:33 rabbi Exp $ */
10    
11    
12  #include "mix3.h"  #include "mix3.h"
# Line 242  int conf(BUFFER *out) Line 242  int conf(BUFFER *out)
242    if (SIZELIMIT)    if (SIZELIMIT)
243      buf_appendf(out, "Maximum message size: %d kB\n", SIZELIMIT);      buf_appendf(out, "Maximum message size: %d kB\n", SIZELIMIT);
244    
245    /* read in dest.alw if middleman (added by Kat 11/19/2001) */    /* display destinations to which delivery is explicitly permitted
246         when in middleman mode (contents of DESTALLOWf file.)  */
247    
248    if (MIDDLEMAN) {    if (MIDDLEMAN) {
249      f = mix_openfile(DESTALLOW, "r");      f = mix_openfile(DESTALLOW, "r");
250      if (f != NULL) {      if (f != NULL) {
# Line 251  int conf(BUFFER *out) Line 253  int conf(BUFFER *out)
253        while(buf_getline(b, line) != -1) {        while(buf_getline(b, line) != -1) {
254          if (line->length > 0 && line->data[0] != '#') {          if (line->length > 0 && line->data[0] != '#') {
255            if (flag == 0) {            if (flag == 0) {
256              buf_appends(out, "In addition to other remailers, this Mixmaster also sends mail to these\n addresses directly:\n");              buf_appends(out, "In addition to other remailers, this remailer also sends mail to these\n addresses directly:\n");
257              flag = 1;              flag = 1;
258            }            }
259            buf_appendf(out, "   %b\n", line);            buf_appendf(out, "   %b\n", line);

Legend:
Removed from v.142  
changed lines
  Added in v.143

  ViewVC Help
Powered by ViewVC 1.1.5