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