drop needless strcspn in the header parsing
authorop <op@openbsd.org>
Wed, 28 Jun 2023 17:35:06 +0000 (17:35 +0000)
committerop <op@openbsd.org>
Wed, 28 Jun 2023 17:35:06 +0000 (17:35 +0000)
commit1ff56c59ec98045857644285bf6579519c8de459
treed67fec933bd6de1684d1d8a605e6b3b5bfc11080
parenta2bb66a350deaaa0040418bda60eb9b60370d373
drop needless strcspn in the header parsing

since fetch.c revision 1.211, ftp removes trailingwhitespaces early so
there's no need to re-do that when parsing a header.

while here, remove an unused variable too.

ok tb, millert
usr.bin/ftp/Makefile
usr.bin/ftp/fetch.c