From 0492a044bf7ce0466c3a32a0165ff27ceb6182af Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Thu, 26 Aug 2010 02:35:36 +0000 Subject: [PATCH] * Fixed a wrap bug in convert_internet_message() * This also is backported to stable, which is now 7.84 --- citadel/internet_addressing.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/citadel/internet_addressing.c b/citadel/internet_addressing.c index 7a9f4b078..8bfdd6a1c 100644 --- a/citadel/internet_addressing.c +++ b/citadel/internet_addressing.c @@ -779,8 +779,7 @@ struct CtdlMessage *convert_internet_message_buf(StrBuf **rfc822) (done == 0) ) { - if ((*pos=='\n') && - (!isspace(*(pos+1)))) + if ( (*pos=='\n') && ((*pos+1)!=0x20) && ((*pos+1)!=0x09) ) { end = pos; } -- 2.30.2