mailinfo: don't insert header prefix for handle_content_type()
commit517b60564e2c69cbb79895e04b24a6393273398f
authorRené Scharfe <l.s.r@web.de>
Mon, 10 Feb 2020 07:15:19 +0000 (10 08:15 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Feb 2020 17:27:13 +0000 (10 09:27 -0800)
tree6b529d0b3015ff85787e5185630ff1516f034fff
parenta91cc7fad0d48984135abe2fb70c41db61b500c5
mailinfo: don't insert header prefix for handle_content_type()

handle_content_type() only cares about the value after "Content-Type: ";
there is no need to insert that string for it.

Suggested-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
mailinfo.c