[9front] upas/vf: install %τ format specifier

upas/vf was converted to use tmdate, but the formatter was never
installed.  This caused it to send attachments to validateattachment
with header `From virusfilter %τ%`, which always failed since upas/fs
would just skip over the message.
This commit is contained in:
Michael Forney 2021-02-07 08:02:36 -08:00
parent d5f9514304
commit 827bf1b7da

View file

@ -140,6 +140,8 @@ main(int argc, char **argv)
if(argc) if(argc)
usage(); usage();
tmfmtinstall();
Binit(&in, 0, OREAD); Binit(&in, 0, OREAD);
Binit(&out, 1, OWRITE); Binit(&out, 1, OWRITE);