From 9e6588d6f0944c75b82c978a7b687e59f127b8eb Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Tue, 18 Oct 2005 13:02:11 +0000 Subject: [PATCH] - Allow mime_content_type() to work with even a slightly broken mime magic file. --- ext/mime_magic/mime_magic.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ext/mime_magic/mime_magic.c b/ext/mime_magic/mime_magic.c index 0ec285b504..c627d64730 100644 --- a/ext/mime_magic/mime_magic.c +++ b/ext/mime_magic/mime_magic.c @@ -434,9 +434,6 @@ static int apprentice(void) /* parse it */ if (parse(line + ws_offset, lineno) != 0) ++errs; - - if(errs && !MIME_MAGIC_G(debug)) - break; } (void) fclose(f); -- 2.50.1