Added
Link Here
|
1 |
--- src/newmbox.c.orig Tue Feb 6 19:48:32 2001 |
2 |
+++ src/newmbox.c Sat May 12 21:28:05 2001 |
3 |
@@ -568,6 +568,33 @@ |
4 |
} |
5 |
} |
6 |
|
7 |
+ else if (NULL != (tmphdr = locate_header_by_name(parsed_headers, |
8 |
+ "Newsgroups"))) { |
9 |
+ struct addr_item * addrs = |
10 |
+ break_down_address(tmphdr->body, |
11 |
+ !(current_header -> status & |
12 |
+ NOHDRENCODING) && |
13 |
+ is_rfc1522(tmphdr->body), |
14 |
+ current_header->header_charset); |
15 |
+ |
16 |
+ if (addrs) { |
17 |
+ if (current_header->to) |
18 |
+ free_addr_items(current_header->to); |
19 |
+ current_header->to = addrs; |
20 |
+ if (debug > 15 && debugfile) { |
21 |
+ struct addr_item * p; |
22 |
+ for (p = current_header->to; p->addr; p++) { |
23 |
+ elm_fprintf(debugfile, |
24 |
+ FRM("-- to[%d] addr='%s' comment='%S' fullname='%S'\n"), |
25 |
+ p - current_header->to, |
26 |
+ p->addr, |
27 |
+ p->comment, |
28 |
+ p->fullname); |
29 |
+ } |
30 |
+ } |
31 |
+ } |
32 |
+ } |
33 |
+ |
34 |
if (NULL != (tmphdr = locate_header_by_name(parsed_headers, |
35 |
"Cc"))) { |
36 |
struct addr_item * addrs = |