Skip to content

Commit

Permalink
docs: fix missing parameter names in examples
Browse files Browse the repository at this point in the history
Closes #11278
  • Loading branch information
Aketzu authored and bagder committed Jun 8, 2023
1 parent 3c9256c commit c72edfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/libcurl/opts/CURLOPT_SSH_KEYDATA.3
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
4 changes: 2 additions & 2 deletions docs/libcurl/opts/CURLOPT_SSH_KEYFUNCTION.3
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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 */
Expand Down

0 comments on commit c72edfa

Please sign in to comment.