Fix content type detection
authorAndre Heinecke <aheinecke@intevation.de>
Wed, 30 Nov 2016 14:29:19 +0000 (15:29 +0100)
committerAndre Heinecke <aheinecke@intevation.de>
Wed, 30 Nov 2016 14:29:19 +0000 (15:29 +0100)
commit94c354a0845ba4f1e29e4bc8b9d8fc4e3b8081dc
tree77e7e6368879a45c64336d8eada483d19dcaf76d
parent5b34e853a15baba47a8983e5430069a0a37bcb81
Fix content type detection

* src/mimemaker.cpp (infer_content_type): Fix it.

--
This never worked because the tolower did not increase the
suffix pointer and just filled the buffer with the first letter
of the suffix.

Now we have c++ we can simplify the tolower.
src/mimemaker.cpp