send.c:parsepart(): strip trailing WS from Content-Type:..
commit05b9df94ccf3c374877e126d8dc30b9affa53007
authorSteffen (Daode) Nurpmeso <sdaoden@users.sf.net>
Wed, 21 May 2014 09:48:19 +0000 (21 11:48 +0200)
committerSteffen (Daode) Nurpmeso <sdaoden@users.sf.net>
Sat, 31 May 2014 20:02:38 +0000 (31 22:02 +0200)
tree57e3b1b85150686e7a0c39464e8f63a9bf0eedb6
parent108841f45cd4a0374acf0b10e1677781e4d21e19
send.c:parsepart(): strip trailing WS from Content-Type:..

A message on current-users@netbsd.org had a type/subtype declaration
with trailing whitespace, which caused S-nail to fail to recognize
the content as `application/x-sh'.  Fix that by manually stripping
any trailing whitespace.
(We need the new standard compliant parsers.  Sigh.)
head.c
send.c