projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8450833
)
Don't add brackets <> to the reply to; it should be ok without.
author
Wilfried Goesgens
<dothebart@citadel.org>
Thu, 18 Aug 2011 10:30:35 +0000
(10:30 +0000)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Thu, 18 Aug 2011 10:30:35 +0000
(10:30 +0000)
citadel/msgbase.c
patch
|
blob
|
history
diff --git
a/citadel/msgbase.c
b/citadel/msgbase.c
index 9fcee63664caab3c8f8b15e27ae8e54ed46afc2a..175346960d4c8c0ab8b3971dd54262c0b0a3026f 100644
(file)
--- a/
citadel/msgbase.c
+++ b/
citadel/msgbase.c
@@
-2006,7
+2006,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);