fix build w/o MagicMime more

This commit is contained in:
Joey Hess 2019-05-03 11:30:20 -04:00
parent 740c9f7da8
commit 96dfba7b53
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -139,7 +139,8 @@ mkLargeFilesParser = do
#ifdef WITH_MAGICMIME
let mimer n f = ValueToken n (usev $ f magicmime)
#else
let mimer n = ValueToken n (const $ Left "\""++n++"\" not supported; not built with MagicMime support")
let mimer n = ValueToken n $
const $ Left $ "\""++n++"\" not supported; not built with MagicMime support"
#endif
let parse = parseToken $ commonTokens ++
#ifdef WITH_MAGICMIME