mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 19:54:57 +00: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