From: Art Cancro Date: Thu, 26 Aug 2010 02:35:36 +0000 (+0000) Subject: * Fixed a wrap bug in convert_internet_message() X-Git-Tag: v8.01~842 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=0492a044bf7ce0466c3a32a0165ff27ceb6182af * Fixed a wrap bug in convert_internet_message() * This also is backported to stable, which is now 7.84 --- 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; }