docs: fix missing parameter names in examples

Closes #11278
This commit is contained in:
Anssi Kolehmainen 2023-06-08 18:57:19 +03:00 committed by Daniel Stenberg
parent 3c9256c8a0
commit c72edfa8db
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ SFTP and SCP
static int keycb(CURL *easy,
const struct curl_khkey *knownkey,
const struct curl_khkey *foundkey,
enum curl_khmatch,
enum curl_khmatch match,
void *clientp)
{
/* 'clientp' points to the callback_data struct */

View File

@ -56,7 +56,7 @@ struct curl_khkey {
int ssh_keycallback(CURL *easy,
const struct curl_khkey *knownkey,
const struct curl_khkey *foundkey,
enum curl_khmatch,
enum curl_khmatch match,
void *clientp);
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SSH_KEYFUNCTION,
@ -108,7 +108,7 @@ SFTP and SCP
static int keycb(CURL *easy,
const struct curl_khkey *knownkey,
const struct curl_khkey *foundkey,
enum curl_khmatch,
enum curl_khmatch match,
void *clientp)
{
/* 'clientp' points to the callback_data struct */