/[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 29 by rabbi, Tue Nov 6 23:41:58 2001 UTC revision 30 by rabbi, Tue Dec 11 20:59:26 2001 UTC
# Line 6  Line 6 
6     details.     details.
7    
8     Process remailer messages     Process remailer messages
9     $Id: rem.c,v 1.3 2001/11/06 23:41:58 rabbi Exp $ */     $Id: rem.c,v 1.4 2001/12/11 20:59:26 rabbi Exp $ */
10    
11    
12  #include "mix3.h"  #include "mix3.h"
# Line 371  int blockrequest(BUFFER *message) Line 371  int blockrequest(BUFFER *message)
371      if (bufieq(field, "from"))      if (bufieq(field, "from"))
372        buf_set(from, content);        buf_set(from, content);
373      else if (bufieq(field, "subject"))      else if (bufieq(field, "subject"))
374        buf_cat(message, content);        buf_cat(message, content);
375       /* Append the subject to the message body so destination block requests
376          in the subject line work too (we process the body a few lines down) */
377    while (buf_getline(message, line) != -1)    while (buf_getline(message, line) != -1)
378      if (bufifind(line, "destination-block")) {      if (bufifind(line, "destination-block")) {
379        buf_clear(addr);        buf_clear(addr);

Legend:
Removed from v.29  
changed lines
  Added in v.30

  ViewVC Help
Powered by ViewVC 1.1.5