projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b867fff
)
* Applied patch submitted by 'uplink' to ignore spurious From: lines that may appear...
author
Art Cancro
<ajc@citadel.org>
Thu, 8 Jan 2009 20:00:19 +0000
(20:00 +0000)
committer
Art Cancro
<ajc@citadel.org>
Thu, 8 Jan 2009 20:00:19 +0000
(20:00 +0000)
citadel/citmail.c
patch
|
blob
|
history
diff --git
a/citadel/citmail.c
b/citadel/citmail.c
index fb1c78cc7f7b56799d68e2db5d7a86ab0e8f1efc..a665e8cc70abc390f8b2f050d48045fb18aaa88d 100644
(file)
--- a/
citadel/citmail.c
+++ b/
citadel/citmail.c
@@
-232,11
+232,9
@@
int main(int argc, char **argv) {
fprintf(fp, "%s%s", fromline, buf);
}
}
- if (!strncasecmp(buf, "From:", 5)) {
+ if (
in_body == 0 &&
!strncasecmp(buf, "From:", 5)) {
strcpy(fromline, buf);
- if (in_body == 0) {
- from_header = 1;
- }
+ from_header = 1;
}
if (read_recipients_from_headers) {