]> gitweb.ps.run Git - ps-cgit/commitdiff
refactor get_mimetype_from_file() to get_mimetype_for_filename()
authorChristian Hesse <mail@eworm.de>
Sun, 16 Aug 2015 12:53:52 +0000 (14:53 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 17 Aug 2015 12:25:08 +0000 (14:25 +0200)
* handle mimetype within a single function
* return allocated memory on success

Signed-off-by: Christian Hesse <mail@eworm.de>

No differences found