mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-22 13:17:36 -06:00
Core/SSH: Minor fixes & decprecated methods are marked with [[deprecated]] attribute.
git-svn-id: svn://ultimatepp.org/upp/trunk@14997 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
d4417cbccf
commit
a403e111d8
6 changed files with 11 additions and 10 deletions
|
|
@ -601,10 +601,8 @@ FileSystemInfo::FileInfo SFtp::DirEntry::ToFileInfo() const
|
|||
|
||||
bool SFtp::DirEntry::CanMode(dword u, dword g, dword o) const
|
||||
{
|
||||
return a->flags & LIBSSH2_SFTP_ATTR_PERMISSIONS &&
|
||||
a->permissions & o ||
|
||||
a->permissions & g ||
|
||||
a->permissions & u;
|
||||
return (a->flags & LIBSSH2_SFTP_ATTR_PERMISSIONS)
|
||||
&& (a->permissions & o || a->permissions & g || a->permissions & u);
|
||||
}
|
||||
|
||||
void SFtp::DirEntry::Zero()
|
||||
|
|
|
|||
Loading…
Reference in a new issue