mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-20 04:00:55 +00:00
Merge pull request #522 from DavidAnderson684/patch-1
Avoid calling fclose(false) * DavidAnderson684/patch-1: Avoid calling fclose(false)
This commit is contained in:
commit
630a71bee6
@ -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