summaryrefslogtreecommitdiffstats
path: root/rfc2045/rfc2045.c
diff options
context:
space:
mode:
Diffstat (limited to 'rfc2045/rfc2045.c')
-rw-r--r--rfc2045/rfc2045.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/rfc2045/rfc2045.c b/rfc2045/rfc2045.c
index 8cbd3a7..40c2017 100644
--- a/rfc2045/rfc2045.c
+++ b/rfc2045/rfc2045.c
@@ -652,6 +652,12 @@ int bit8=0;
update_counts(p, p->endpos + cnt, p->endpos+n, 1);
+ /*
+ ** Until we see an official start of message body, the body starts
+ ** right after what we just read.
+ */
+ p->startbody=p->endbody;
+
/* If this header line starts with a space, append one space
** to the saved contents of the previous line, and append this
** line to it.