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;