mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-28 12:10:59 +00:00
SFTP: unpack() -> unpackSSH2()
This commit is contained in:
parent
d51b72abbf
commit
b89c488f43
@ -2752,7 +2752,7 @@ class SFTP extends SSH2
|
|||||||
list($attr['atime'], $attr['mtime']) = Strings::unpackSSH2('NN', $response);
|
list($attr['atime'], $attr['mtime']) = Strings::unpackSSH2('NN', $response);
|
||||||
break;
|
break;
|
||||||
case NET_SFTP_ATTR_EXTENDED: // 0x80000000
|
case NET_SFTP_ATTR_EXTENDED: // 0x80000000
|
||||||
list($count) = Strings::unpack('N', $response);
|
list($count) = Strings::unpackSSH2('N', $response);
|
||||||
for ($i = 0; $i < $count; $i++) {
|
for ($i = 0; $i < $count; $i++) {
|
||||||
list($key, $value) = Strings::unpackSSH2('ss', $response);
|
list($key, $value) = Strings::unpackSSH2('ss', $response);
|
||||||
$attr[$key] = $value;
|
$attr[$key] = $value;
|
||||||
|
Loading…
Reference in New Issue
Block a user