From 4a45954c576f8f0168740da4ee974209df5f10e6 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Thu, 18 Aug 2011 10:30:35 +0000 Subject: [PATCH] Don't add brackets <> to the reply to; it should be ok without. --- citadel/msgbase.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/citadel/msgbase.c b/citadel/msgbase.c index f78116711..a02f7cd24 100644 --- a/citadel/msgbase.c +++ b/citadel/msgbase.c @@ -2038,7 +2038,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); -- 2.39.2