Removed unecessary brackets.
This commit is contained in:
parent
f1df0b7fbc
commit
6c3f2ec815
@ -95,10 +95,10 @@ static int sftp_close_handle(LIBSSH2_SFTP_HANDLE *handle);
|
||||
static int sftp_attrsize(unsigned long flags)
|
||||
{
|
||||
return (4 + /* flags(4) */
|
||||
(((flags) & LIBSSH2_SFTP_ATTR_SIZE) ? 8 : 0) +
|
||||
(((flags) & LIBSSH2_SFTP_ATTR_UIDGID) ? 8 : 0) +
|
||||
(((flags) & LIBSSH2_SFTP_ATTR_PERMISSIONS) ? 4 : 0) +
|
||||
(((flags) & LIBSSH2_SFTP_ATTR_ACMODTIME) ? 8 : 0));
|
||||
((flags & LIBSSH2_SFTP_ATTR_SIZE) ? 8 : 0) +
|
||||
((flags & LIBSSH2_SFTP_ATTR_UIDGID) ? 8 : 0) +
|
||||
((flags & LIBSSH2_SFTP_ATTR_PERMISSIONS) ? 4 : 0) +
|
||||
((flags & LIBSSH2_SFTP_ATTR_ACMODTIME) ? 8 : 0));
|
||||
/* atime + mtime as u32 */
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user