mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-11 16:49:42 +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 = [];
|
$attr = [];
|
||||||
list($attr[$key]) = Strings::unpackSSH2('Q', $response);
|
list($attr[$key]) = Strings::unpackSSH2('Q', $response);
|
||||||
if ($flags & NET_SFTP_ATTR_SUBSECOND_TIMES) {
|
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;
|
return $attr;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user