a_header_cmatch(): fix long standing BSD Mail bug (Russell Bell)..
commit1a251320a0ca7d5a24fadc6b3f16813eb60b67cf
authorSteffen Nurpmeso <steffen@sdaoden.eu>
Tue, 11 Dec 2018 18:22:29 +0000 (11 19:22 +0100)
committerSteffen Nurpmeso <steffen@sdaoden.eu>
Tue, 11 Dec 2018 18:31:16 +0000 (11 19:31 +0100)
tree47b165ef4cf4e5d8eda8c685698c1904acbd91a7
parentc6f3d63182090a76c60182a5f114ed78c255ed53
a_header_cmatch(): fix long standing BSD Mail bug (Russell Bell)..

It turns out that the the 'O' in "o"ptional is mistreated by all
BSD Mail incarnations i know of, including BSD Mail 8.1[.1] from
June 1996: it treats anything but space or digit as an error, but
then advances simply advances template and date string, instead of
looking whether the next character is the expected one, then!
header.c