Antony Dovgal 18 years ago
parent
commit
8209f891a4
  1. 2
      ext/fileinfo/fileinfo.c

2
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); php_stream_seek(stream, 0, SEEK_SET);
ret_val = (char *) magic_stream(magic, stream); ret_val = (char *) magic_stream(magic, stream);
php_stream_seek(stream, streampos, SEEK_SET);
break; break;
} }

Loading…
Cancel
Save