1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

scpserver.c: add missing brackets around mask checks

This commit is contained in:
Pavel Kryukov 2018-10-26 17:37:32 +03:00 committed by Simon Tatham
parent 6750eb73ab
commit ab89fd7847

View File

@ -469,7 +469,7 @@ static void scp_source_push_name(
return;
}
} else {
if (!attrs.flags & SSH_FILEXFER_ATTR_SIZE) {
if (!(attrs.flags & SSH_FILEXFER_ATTR_SIZE)) {
scp_source_err(scp, "unable to read file size for %.*s",
PTRLEN_PRINTF(pathname));
return;