mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
mailfs: plumb messages correctly even if body comes before header
This commit is contained in:
parent
a490444938
commit
478054e0a7
1 changed files with 1 additions and 1 deletions
|
@ -1495,6 +1495,7 @@ xmsgenvelope(Msg *msg, Sx *k, Sx *v)
|
|||
{
|
||||
hdrfree(msg->part[0]->hdr);
|
||||
msg->part[0]->hdr = parseenvelope(v);
|
||||
msgplumb(msg, 0);
|
||||
}
|
||||
|
||||
static struct {
|
||||
|
@ -1612,7 +1613,6 @@ xmsgbody(Msg *msg, Sx *k, Sx *v)
|
|||
msg->box->maxseen = msg->imapid;
|
||||
if(msg->imapuid >= msg->box->uidnext)
|
||||
msg->box->uidnext = msg->imapuid+1;
|
||||
msgplumb(msg, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue