summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2005-10-18 15:04:07 +0000
committerDerick Rethans <derick@php.net>2005-10-18 15:04:07 +0000
commit3e46adb1831f8ff467b783e2a864588f9086e504 (patch)
tree0b2e0d3fffcb96a44382e8ab2aa14ffa653f9c4d /ext
parentfb57a8363e2429a09b7ea0a46dbbfd84e423ced5 (diff)
downloadphp-git-3e46adb1831f8ff467b783e2a864588f9086e504.tar.gz
- MFH: Fixed bug #33829 (mime_content_type() returns text/plain for gzip and
bzip files).
Diffstat (limited to 'ext')
-rw-r--r--ext/mime_magic/mime_magic.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/mime_magic/mime_magic.c b/ext/mime_magic/mime_magic.c
index 54bc33e677..8c9b957ca2 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);