Commit 792b2c0e authored by Pontus Sköld's avatar Pontus Sköld Committed by Niels Möller
Browse files

(sftp_attrib_from_stat): Bugfix, use |,

not ||. Noticed by Pontus Sköld.

Rev: src/sftp/sftp-server.c:1.13
parent a5fe8cee
...@@ -205,11 +205,10 @@ sftp_attrib_from_stat(struct stat *st, struct sftp_attrib* a) ...@@ -205,11 +205,10 @@ sftp_attrib_from_stat(struct stat *st, struct sftp_attrib* a)
a->atime=st->st_atime; a->atime=st->st_atime;
a->mtime=st->st_mtime; a->mtime=st->st_mtime;
a->size=st->st_size; a->size=st->st_size;
a->flags= ( SSH_FILEXFER_ATTR_SIZE || a->flags= ( SSH_FILEXFER_ATTR_SIZE
SSH_FILEXFER_ATTR_UIDGID || | SSH_FILEXFER_ATTR_UIDGID
SSH_FILEXFER_ATTR_PERMISSIONS || | SSH_FILEXFER_ATTR_PERMISSIONS
SSH_FILEXFER_ATTR_ACMODTIME | SSH_FILEXFER_ATTR_ACMODTIME);
);
} }
static void static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment