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

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

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

revision 119 by weaselp, Mon Jul 29 23:52:00 2002 UTC revision 120 by weaselp, Sat Aug 3 17:08:02 2002 UTC
# Line 6  Line 6 
6     details.     details.
7    
8     Process remailer messages     Process remailer messages
9     $Id: rem.c,v 1.19 2002/07/29 23:52:00 weaselp Exp $ */     $Id: rem.c,v 1.20 2002/08/03 17:08:02 weaselp Exp $ */
10    
11    
12  #include "mix3.h"  #include "mix3.h"
# Line 255  int mix_pool(BUFFER *msg, int type, long Line 255  int mix_pool(BUFFER *msg, int type, long
255        fprintf(f, "%d %ld\n", type, latent + time(NULL));        fprintf(f, "%d %ld\n", type, latent + time(NULL));
256      else      else
257        fprintf(f, "%d 0\n", type);        fprintf(f, "%d 0\n", type);
258      err = buf_write(msg, f);      err = buf_write_sync(msg, f);
     fclose(f);  
259    }    }
260    if (err == 0) {    if (err == 0) {
261      rename(pathtmp, path);      rename(pathtmp, path);

Legend:
Removed from v.119  
changed lines
  Added in v.120

  ViewVC Help
Powered by ViewVC 1.1.5