fix a "Re:" parsing bug

* message-thread.c (get_root_subject): fix a "Re:" parsing bug

svn path=/trunk/; revision=3998
This commit is contained in:
Dan Winship
2000-07-09 03:03:50 +00:00
parent 7f64833332
commit 541c905279
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-07-08 Dan Winship <danw@helixcode.com>
* message-thread.c (get_root_subject): fix a "Re:" parsing bug
2000-07-08 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (real_fetch_mail): Always dump incoming messages to

View File

@ -190,7 +190,7 @@ get_root_subject(struct _container *c, int *re)
if ((s[0] == 'r' || s[0]=='R')
&& (s[1] == 'e' || s[1]=='E')) {
p = s+2;
while (ispunct(*p) || (isdigit(*p) && (*p != ':')))
while (isdigit(*p) || (ispunct(*p) && (*p != ':')))
p++;
if (*p==':') {
*re = TRUE;