← Commit list

2735ef3bae

Viktor Szakats
Viktor Szakats
2026-06-22
SUCCESS Duration: 199s

Subject

libssh2: fix to return error code on missing parameter

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/vssh/libssh2.c+1 -1
@@ -805,7 +805,7 @@ static CURLcode sftp_quote(struct Curl_easy *data,
cp = strchr(cmd, ' ');
if(!cp) {
failf(data, "Syntax error command '%s', missing parameter", cmd);
- return result;
+ return CURLE_QUOTE_ERROR;
}
/*