upas/ned: fix M command

This commit is contained in:
cinap_lenrek 2012-11-30 15:13:23 +01:00
parent 3f25f69718
commit 3e0e920c22

View file

@ -1877,8 +1877,6 @@ mcmd(Cmd *c, Message *m)
return nil;
}
av[ai++] = "-8";
av[ai++] = "-t";
if(m->parent == &top)
av[ai++] = "message/rfc822";
@ -1891,6 +1889,8 @@ mcmd(Cmd *c, Message *m)
if(strchr(c->av[0], 'M') == nil)
av[ai++] = "-n";
else
av[ai++] = "-8";
for(i = 1; i < c->an && ai < nelem(av)-1; i++)
av[ai++] = c->av[i];