From ab89fd7847b1670cf9eae2b91d4535f71e9c290c Mon Sep 17 00:00:00 2001 From: Pavel Kryukov Date: Fri, 26 Oct 2018 17:37:32 +0300 Subject: [PATCH] scpserver.c: add missing brackets around mask checks --- scpserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scpserver.c b/scpserver.c index 5e90103a..74efc579 100644 --- a/scpserver.c +++ b/scpserver.c @@ -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;