From: Greg Beaver Date: Mon, 1 Dec 2003 00:43:34 +0000 (+0000) Subject: fclose() might be needed X-Git-Tag: php-5.0.0b3RC1~463 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b27f71ca58c1b7c5eab62942be173ad8dc72ffad;p=php fclose() might be needed --- diff --git a/pear/tests/pear_common_downloadHttp.phpt b/pear/tests/pear_common_downloadHttp.phpt index a9ba27f22c..39712221d9 100644 --- a/pear/tests/pear_common_downloadHttp.phpt +++ b/pear/tests/pear_common_downloadHttp.phpt @@ -8,6 +8,8 @@ if (!getenv('PHP_PEAR_RUNTESTS')) { $fp = @fsockopen('pear.php.net', 80); if (!$fp) { echo 'skip'; +} else { + fclose($fp); } ?> --FILE--