mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 19:54:57 +00:00
Merge branch 'master' into php5
* master: Avoid calling fclose(false)
This commit is contained in:
commit
632c47e55f
@ -195,7 +195,6 @@ class Net_SCP
|
|||||||
|
|
||||||
$fp = @fopen($data, 'rb');
|
$fp = @fopen($data, 'rb');
|
||||||
if (!$fp) {
|
if (!$fp) {
|
||||||
fclose($fp);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$size = filesize($data);
|
$size = filesize($data);
|
||||||
|
Loading…
Reference in New Issue
Block a user