diff --git a/lib/vssh/libssh2.c b/lib/vssh/libssh2.c index 371667d44b..b12d69f317 100644 --- a/lib/vssh/libssh2.c +++ b/lib/vssh/libssh2.c @@ -1207,7 +1207,7 @@ static CURLcode sftp_quote_stat(struct Curl_easy *data, sshc->acceptfail = TRUE; } - if(!!strncmp(cmd, "chmod", 5)) { + if(strncmp(cmd, "chmod", 5)) { /* Since chown and chgrp only set owner OR group but libssh2 wants to set * them both at once, we need to obtain the current ownership first. This * takes an extra protocol round trip.