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

Diff of /branches/mixmaster_2_9_STABLE/Mix/Src/stats.c

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

revision 334 by weaselp, Wed Oct 9 20:51:09 2002 UTC revision 335 by weaselp, Wed Oct 9 21:09:12 2002 UTC
# Line 6  Line 6 
6     details.     details.
7    
8     Remailer statistics     Remailer statistics
9     $Id: stats.c,v 1.8.2.5 2002/10/09 20:51:09 weaselp Exp $ */     $Id: stats.c,v 1.8.2.6 2002/10/09 21:09:12 weaselp Exp $ */
10    
11    
12  #include "mix3.h"  #include "mix3.h"
# Line 338  int conf(BUFFER *out) Line 338  int conf(BUFFER *out)
338        num = t1_rlist(remailer);        num = t1_rlist(remailer);
339        pgp_rkeylist(remailer, pgpkeyid, num);        pgp_rkeylist(remailer, pgpkeyid, num);
340        for (i=1; i<=num; i++) {        for (i=1; i<=num; i++) {
341        if (remailer[i].flags.pgp) {          if (remailer[i].flags.pgp) {
342          snprintf(tmpline, LINELEN, "0x%08X    \"%s <%s>\"\n", pgpkeyid[i], remailer[i].name, remailer[i].addr);            snprintf(tmpline, LINELEN, "0x%08X    \"%s <%s>\"\n", pgpkeyid[i], remailer[i].name, remailer[i].addr);
343          tmpline[LINELEN-1] = '\0';            tmpline[LINELEN-1] = '\0';
344          buf_appends(out, tmpline);            buf_appends(out, tmpline);
345        }          }
346        }        }
347        buf_nl(out);        buf_nl(out);
348      }      }

Legend:
Removed from v.334  
changed lines
  Added in v.335

  ViewVC Help
Powered by ViewVC 1.1.5