]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs: fix missing parameter names in examples
authorAnssi Kolehmainen <anssi.kolehmainen@vilant.com>
Thu, 8 Jun 2023 15:57:19 +0000 (18:57 +0300)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 8 Jun 2023 17:57:08 +0000 (19:57 +0200)
Closes #11278

docs/libcurl/opts/CURLOPT_SSH_KEYDATA.3
docs/libcurl/opts/CURLOPT_SSH_KEYFUNCTION.3

index d0c592fea1085d52eed302d317a15dd97729980e..7d21790556ba168acc2805242022142eafb28df1 100644 (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 */
index 317d12204a763c00aa6e791e07dd30cb1fc3db20..53bb88e0c95e8b3eaf61dab262ad98c119f8318a 100644 (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 */