mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-24 11:05:30 +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