#7 possible fix for #482203

closed-accepted
None
6
2002-07-10
2001-11-19
Katherine
No

haven't tested completely; but a try at fixing #482203
(including dest.alw if middleman)

Discussion

  • Len Sassaman

    Len Sassaman - 2001-11-19
    • assigned_to: nobody --> rabbi
    • priority: 5 --> 6
    • status: open --> pending
     
  • Len Sassaman

    Len Sassaman - 2001-11-19

    Logged In: YES
    user_id=29569

    Hmm. Was there supposed to be a file attached to
    this?

     
  • Katherine

    Katherine - 2001-11-19
    • status: pending --> open
     
  • Katherine

    Katherine - 2001-11-19

    Logged In: YES
    user_id=374202

    oops.

     
  • Katherine

    Katherine - 2001-11-19

    Logged In: YES
    user_id=374202

    hm. it doesn't like me uploading files. I'll try once
    more before just pasting it into a message.

     
  • Katherine

    Katherine - 2001-11-19

    Logged In: YES
    user_id=374202

    --- stats.c.orig Mon Nov 19 12:32:13 2001
    +++ stats.c Mon Nov 19 12:49:55 2001
    @@ -240,6 +240,25 @@
    if (SIZELIMIT)
    buf_appendf(out, "Maximum message size: %d kB\n",
    SIZELIMIT);

    + /* read in dest.alw if middleman (added by Kat
    11/19/2001) */
    + if (MIDDLEMAN){
    + f = mix_openfile(DESTALLOW, "r");
    + if (f != NULL) {
    + buf_read(b, f);
    + fclose(f);
    + while(buf_getline(b, line) != -1)
    + if (line->length > 0 && line->data[0] != '#') {
    + if (flag == 0) {
    + buf_appends(out, "The remailers are
    allowed:\n");
    + flag = 1;
    + }
    + buf_appendf(out, " %b\n", line);
    + }
    + }
    + buf_nl(out);
    + }
    + }
    +
    f = mix_openfile(HDRFILTER, "r");
    if (f != NULL) {
    buf_read(b, f);

     
  • Peter Palfrader

    Peter Palfrader - 2002-07-10

    Logged In: YES
    user_id=1525

    applied in stats.c revision 1.5

     
  • Peter Palfrader

    Peter Palfrader - 2002-07-10
    • assigned_to: rabbi --> weaselp
    • status: open --> closed-accepted
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks