use getline(3) instead of fgetln(3)
authorop <op@openbsd.org>
Mon, 5 Jun 2023 08:07:18 +0000 (08:07 +0000)
committerop <op@openbsd.org>
Mon, 5 Jun 2023 08:07:18 +0000 (08:07 +0000)
commit01f59d7875f2a29299a60b434ca14da419b26c1a
tree7758590faa3198a1f65cd4200c262406c74b3268
parenta29d9d67340b8f3fa5d47bc026fa8826622c56ea
use getline(3) instead of fgetln(3)

while here simplify the "From " check too.
ok millert@
libexec/mail.local/mail.local.c