summaryrefslogtreecommitdiff
path: root/news/tin/patches/patch-ad
blob: c8e6310da363c84cb377f07f55b4e6a4cb59a9bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ad,v 1.1 2001/05/31 07:16:59 dillo Exp $

--- src/art.c.orig	Mon Jul  3 13:17:46 2000
+++ src/art.c
@@ -733,10 +733,8 @@
 				}
 				break;
 			case 'F':	/* From:  mandatory */
-			case 'T':	/* To:    mandatory (mailbox) */
 				if (!got_from) {
-					if ((match_header (ptr+1, "rom", (char*)0, buf, HEADER_LEN) ||
-					    match_header (ptr+1, "o", (char*)0, buf, HEADER_LEN)) &&
+					if (match_header (ptr+1, "rom", (char*)0, buf, HEADER_LEN) &&
 					    *buf != '\0') {
 						h->gnksa_code = parse_from (buf, art_from_addr, art_full_name);
 						h->from = hash_str (art_from_addr);