Remove cruft that opened a stream that was never closed in get_meta_tags().

(probably my fault).
Noticed by Philip Olson
This commit is contained in:
Wez Furlong 2002-12-26 22:35:00 +00:00
parent 457f22c198
commit bb640840c3

View File

@ -273,14 +273,9 @@ PHP_FUNCTION(get_meta_tags)
return; return;
} }
php_stream_open_wrapper(filename, "rb", 0, NULL);
md.stream = php_stream_open_wrapper(filename, "rb", md.stream = php_stream_open_wrapper(filename, "rb",
(use_include_path ? USE_PATH : 0) | ENFORCE_SAFE_MODE | REPORT_ERRORS, (use_include_path ? USE_PATH : 0) | ENFORCE_SAFE_MODE | REPORT_ERRORS,
NULL); NULL);
if (!md.stream) { if (!md.stream) {
RETURN_FALSE; RETURN_FALSE;