summaryrefslogtreecommitdiffstats
path: root/Codec/MIME/Utils.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Codec/MIME/Utils.hs')
-rw-r--r--Codec/MIME/Utils.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Codec/MIME/Utils.hs b/Codec/MIME/Utils.hs
index 624d433..8606342 100644
--- a/Codec/MIME/Utils.hs
+++ b/Codec/MIME/Utils.hs
@@ -26,7 +26,7 @@ findMultipartNamed nm mv =
case mime_val_content mv of
Multi ms -> msum (map (findMultipartNamed nm) ms)
Single {} -> do cd <- mime_val_disp mv
- find (withDispName nm) (dispParams cd)
+ _ <- find (withDispName nm) (dispParams cd)
return mv
where withDispName a (Name b) = a == b
withDispName _ _ = False