diff options
author | Antony Dovgal <tony2001@php.net> | 2008-09-13 21:32:21 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2008-09-13 21:32:21 +0000 |
commit | 8209f891a4099c55eb49b3993d7ca14fe72dedd9 (patch) | |
tree | 5b2c8a080f5958f6a3b9e43aca0aa72c37358ec2 | |
parent | 86808da90b90b002b15ba5fae8f3bc0aa8bc3b5a (diff) | |
download | php-git-8209f891a4099c55eb49b3993d7ca14fe72dedd9.tar.gz |
MFH
-rw-r--r-- | ext/fileinfo/fileinfo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/fileinfo/fileinfo.c b/ext/fileinfo/fileinfo.c index 29980c2f9b..729f0ae988 100644 --- a/ext/fileinfo/fileinfo.c +++ b/ext/fileinfo/fileinfo.c @@ -494,6 +494,8 @@ static void _php_finfo_get_type(INTERNAL_FUNCTION_PARAMETERS, int mode, int mime php_stream_seek(stream, 0, SEEK_SET); ret_val = (char *) magic_stream(magic, stream); + + php_stream_seek(stream, streampos, SEEK_SET); break; } |