diff options
| -rw-r--r-- | ext/mime_magic/mime_magic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/mime_magic/mime_magic.c b/ext/mime_magic/mime_magic.c index f02e7fb103..c25292af6a 100644 --- a/ext/mime_magic/mime_magic.c +++ b/ext/mime_magic/mime_magic.c @@ -1073,6 +1073,8 @@ static int magic_process(zval *what TSRMLS_DC) streampos = php_stream_tell(stream); /* remember stream position for restauration */ php_stream_seek(stream, 0, SEEK_SET); break; + default: + return -1; } |
