From c72edfa8db7ea34fb51470c6c878202a25f9ec1f Mon Sep 17 00:00:00 2001 From: Anssi Kolehmainen Date: Thu, 8 Jun 2023 18:57:19 +0300 Subject: [PATCH] docs: fix missing parameter names in examples Closes #11278 --- docs/libcurl/opts/CURLOPT_SSH_KEYDATA.3 | 2 +- docs/libcurl/opts/CURLOPT_SSH_KEYFUNCTION.3 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/libcurl/opts/CURLOPT_SSH_KEYDATA.3 b/docs/libcurl/opts/CURLOPT_SSH_KEYDATA.3 index d0c592fea1..7d21790556 100644 --- a/docs/libcurl/opts/CURLOPT_SSH_KEYDATA.3 +++ b/docs/libcurl/opts/CURLOPT_SSH_KEYDATA.3 @@ -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 */ diff --git a/docs/libcurl/opts/CURLOPT_SSH_KEYFUNCTION.3 b/docs/libcurl/opts/CURLOPT_SSH_KEYFUNCTION.3 index 317d12204a..53bb88e0c9 100644 --- a/docs/libcurl/opts/CURLOPT_SSH_KEYFUNCTION.3 +++ b/docs/libcurl/opts/CURLOPT_SSH_KEYFUNCTION.3 @@ -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 */ -- 2.47.3