mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 03:42:40 +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');
|
||||
if (!$fp) {
|
||||
fclose($fp);
|
||||
return false;
|
||||
}
|
||||
$size = filesize($data);
|
||||
|
Loading…
Reference in New Issue
Block a user