X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmsgbase.c;h=6417cd3fdd7e5e3d1f2f98f430313534b6475991;hb=0ad461a910276d955b747f2d8174055067e76854;hp=b29980a5d558441670d70e77a0ef15276bd16b2d;hpb=554835a81b316c36e024ad056b5c80f0d1f6af3f;p=citadel.git 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);