summaryrefslogtreecommitdiff
path: root/mail/nmh/patches/patch-ci
blob: 8bc3288bbd2ab14a556b1aa32e5988854b003fc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ci,v 1.1 2002/10/30 16:57:03 kim Exp $

Fix detection of non-mime messages when the charset is not enclosed
in double quotes.

--- uip/show.c.orig	Sun Sep 12 09:50:12 1999
+++ uip/show.c	Wed Oct 30 11:42:42 2002
@@ -470,7 +470,7 @@
 				*bp = '\0';
 			} else {
 			    for (bp = dp; *bp; bp++)
-				if (isspace (*bp)) {
+				if (!istoken (*bp)) {
 				    *bp = '\0';
 				    break;
 				}