mirror of
https://github.com/curl/curl.git
synced 2025-09-17 01:22:41 +03:00
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
This commit is contained in:
parent
34c598a9b3
commit
7295e62c66
|
@ -34,9 +34,8 @@ enum curl_khstat {
|
||||||
CURLKHSTAT_FINE,
|
CURLKHSTAT_FINE,
|
||||||
CURLKHSTAT_REJECT, /* reject the connection, return an error */
|
CURLKHSTAT_REJECT, /* reject the connection, return an error */
|
||||||
CURLKHSTAT_DEFER, /* do not accept it, but we cannot answer right
|
CURLKHSTAT_DEFER, /* do not accept it, but we cannot answer right
|
||||||
now so this causes a CURLE_DEFER error but
|
now. Causes a CURLE_PEER_FAILED_VERIFICATION error but
|
||||||
otherwise the connection will be left intact
|
the connection will be left intact */
|
||||||
etc */
|
|
||||||
CURLKHSTAT_FINE_REPLACE
|
CURLKHSTAT_FINE_REPLACE
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -840,8 +840,8 @@ enum curl_khstat {
|
||||||
CURLKHSTAT_FINE_ADD_TO_FILE,
|
CURLKHSTAT_FINE_ADD_TO_FILE,
|
||||||
CURLKHSTAT_FINE,
|
CURLKHSTAT_FINE,
|
||||||
CURLKHSTAT_REJECT, /* reject the connection, return an error */
|
CURLKHSTAT_REJECT, /* reject the connection, return an error */
|
||||||
CURLKHSTAT_DEFER, /* do not accept it, but we can't answer right now so
|
CURLKHSTAT_DEFER, /* do not accept it, but we can't answer right now.
|
||||||
this causes a CURLE_DEFER error but otherwise the
|
Causes a CURLE_PEER_FAILED_VERIFICATION error but the
|
||||||
connection will be left intact etc */
|
connection will be left intact etc */
|
||||||
CURLKHSTAT_FINE_REPLACE, /* accept and replace the wrong key*/
|
CURLKHSTAT_FINE_REPLACE, /* accept and replace the wrong key*/
|
||||||
CURLKHSTAT_LAST /* not for use, only a marker for last-in-list */
|
CURLKHSTAT_LAST /* not for use, only a marker for last-in-list */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user