summaryrefslogtreecommitdiffstats
path: root/maildrop/message.C
diff options
context:
space:
mode:
authorSam Varshavchik2013-08-29 08:28:58 -0400
committerSam Varshavchik2013-08-29 08:30:38 -0400
commitd61d9e62ef6d46f5747a9099fe308455de348947 (patch)
tree5ba81406d2606fbbb11ab476da1335ada424f705 /maildrop/message.C
parent2b94d904b8c03ab9ae4074230ac50aa1ad7f362b (diff)
downloadcourier-libs-d61d9e62ef6d46f5747a9099fe308455de348947.tar.bz2
maildrop: xfilter command fixes
Diffstat (limited to 'maildrop/message.C')
-rw-r--r--maildrop/message.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/maildrop/message.C b/maildrop/message.C
index d583fbe..7d156c5 100644
--- a/maildrop/message.C
+++ b/maildrop/message.C
@@ -118,7 +118,6 @@ int n;
while ((n=read(fd, buf, sizeof(buf))) > 0)
{
- rfc2045_parse(rfc2045p, buf, n);
Init(buf, n);
}
if (n < 0)
@@ -130,6 +129,7 @@ int n;
void Message::Init(const void *data, unsigned cnt)
{
+ rfc2045_parse(rfc2045p, (const char *)data, cnt);
{
const char *p=(const char*)data;
unsigned n=cnt;