mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-02 17:52:59 +01:00
SFTP: backport fix from master
This commit is contained in:
parent
247d23f40e
commit
86c0007078
@ -3026,7 +3026,7 @@ class SFTP extends SSH2
|
||||
$attr = [];
|
||||
list($attr[$key]) = Strings::unpackSSH2('Q', $response);
|
||||
if ($flags & NET_SFTP_ATTR_SUBSECOND_TIMES) {
|
||||
list($attr[key . '-nseconds']) = Strings::unpackSSH2('N', $response);
|
||||
list($attr[$key . '-nseconds']) = Strings::unpackSSH2('N', $response);
|
||||
}
|
||||
return $attr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user