haven't tested completely; but a try at fixing #482203 (including dest.alw if middleman)
Logged In: YES user_id=29569
Hmm. Was there supposed to be a file attached to this?
Logged In: YES user_id=374202
oops.
hm. it doesn't like me uploading files. I'll try once more before just pasting it into a message.
--- 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);
Logged In: YES user_id=1525
applied in stats.c revision 1.5
Log in to post a comment.
Logged In: YES
user_id=29569
Hmm. Was there supposed to be a file attached to
this?
Logged In: YES
user_id=374202
oops.
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.
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);
Logged In: YES
user_id=1525
applied in stats.c revision 1.5