Richard W.M. Jones wrote:
Looks fine. You're only saving a few characters by factoring
out
that function though.
Thanks for the review.
My goal was solely to reduce the duplication (4 copies is too many,
even for something so small), not to shrink the size of the source.