]> Sergey Matveev's repositories - public-inbox.git/commit
xt: remove eml_check_roundtrip
authorEric Wong <e@80x24.org>
Sat, 17 Oct 2020 08:17:01 +0000 (08:17 +0000)
committerEric Wong <e@80x24.org>
Sat, 17 Oct 2020 20:24:03 +0000 (20:24 +0000)
commit6550226296e9db796f1f97a4ada205d98ccc9b3a
tree0597a1ab3e2fb99e00adefea158bb205c53b4038
parent2686f6e69245aa32f9c2a286475ed91db776b065
xt: remove eml_check_roundtrip

If there's no body ({bdy} field), ->each_part set the {bdy}
field to "\n" and the ->as_string result afterwards is one
extra "\n" byte longer than the original.

It's not worth extra cycles in common ->each_part calls to
ensure 100% round-trip matches of header-only messages (which
are likely spam), especially when the only difference is a
trailing "\n".
MANIFEST