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: v7.86~68 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=3027e676f920639e314e2a72f3a17f0318ad78c2 * Fixed a wrap bug in convert_internet_message() * This also is backported to stable, which is now 7.84 --- diff --git a/citadel/citadel.h b/citadel/citadel.h index d519766a7..7698db15e 100644 --- a/citadel/citadel.h +++ b/citadel/citadel.h @@ -53,7 +53,7 @@ extern "C" { * usually more strict because you're not really supposed to dump/load and * upgrade at the same time. */ -#define REV_LEVEL 783 /* This version */ +#define REV_LEVEL 784 /* This version */ #define REV_MIN 591 /* Oldest compatible database */ #define EXPORT_REV_MIN 760 /* Oldest compatible export files */ #define LIBCITADEL_MIN 781 /* Minimum required version of libcitadel */ diff --git a/citadel/configure.ac b/citadel/configure.ac index 23e7d203b..744558038 100644 --- a/citadel/configure.ac +++ b/citadel/configure.ac @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. dnl $Id$ AC_PREREQ(2.52) -AC_INIT([Citadel], [7.83], [http://www.citadel.org/]) +AC_INIT([Citadel], [7.84], [http://www.citadel.org/]) AC_REVISION([$Revision: 5108 $]) AC_CONFIG_SRCDIR([citserver.c]) AC_CONFIG_HEADER(sysdep.h) 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; }