summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2022-09-20 14:53:08 +0200
committerDaniel Stenberg <daniel@haxx.se>2022-09-22 09:43:39 +0200
commit7295e62c66cac62751a0a9964dc317048d145524 (patch)
tree4099bfb7f72d441e60461a788decace010ef71c4 /include
parent34c598a9b3dc040829941691acf7e9cc60d8c45a (diff)
downloadcurl-7295e62c66cac62751a0a9964dc317048d145524.tar.gz
curl.h: fix mention of wrong error code in comment
The same error and comment were also used and is now corrected in CURLOPT_SSH_KEYFUNCTION.3
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 45d7978ab..e28dd0b5a 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -840,8 +840,8 @@ enum curl_khstat {
CURLKHSTAT_FINE_ADD_TO_FILE,
CURLKHSTAT_FINE,
CURLKHSTAT_REJECT, /* reject the connection, return an error */
- CURLKHSTAT_DEFER, /* do not accept it, but we can't answer right now so
- this causes a CURLE_DEFER error but otherwise the
+ CURLKHSTAT_DEFER, /* do not accept it, but we can't answer right now.
+ Causes a CURLE_PEER_FAILED_VERIFICATION error but the
connection will be left intact etc */
CURLKHSTAT_FINE_REPLACE, /* accept and replace the wrong key*/
CURLKHSTAT_LAST /* not for use, only a marker for last-in-list */