From: Wilfried Goesgens Date: Thu, 18 Aug 2011 10:30:35 +0000 (+0000) Subject: Don't add brackets <> to the reply to; it should be ok without. X-Git-Tag: v7.87~9 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=0ad461a910276d955b747f2d8174055067e76854 Don't add brackets <> to the reply to; it should be ok without. --- diff --git a/citadel/msgbase.c b/citadel/msgbase.c index b29980a5d..6417cd3fd 100644 --- a/citadel/msgbase.c +++ b/citadel/msgbase.c @@ -1897,7 +1897,11 @@ void OutputRFC822MsgHeaders( } } else if (i == 'K') { - cprintf("Reply-To: <%s>%s", mptr, nl); + hptr = mptr; + while ((*hptr != '\0') && isspace(*hptr)) + hptr ++; + if (!IsEmptyStr(hptr)) + cprintf("Reply-To: %s%s", mptr, nl); } if (mptr != mpptr) free (mptr);