mirror of
https://github.com/curl/curl.git
synced 2026-04-15 05:41:42 +03:00
examples: use present tense in comments
remove "will" and some other word fixes Closes #13003
This commit is contained in:
parent
6e494a2390
commit
f540e43b9d
81 changed files with 189 additions and 198 deletions
|
|
@ -57,8 +57,8 @@ int main(void)
|
|||
/*
|
||||
* If the site you are connecting to uses a different host name that what
|
||||
* they have mentioned in their server certificate's commonName (or
|
||||
* subjectAltName) fields, libcurl will refuse to connect. You can skip
|
||||
* this check, but this will make the connection less secure.
|
||||
* subjectAltName) fields, libcurl refuses to connect. You can skip this
|
||||
* check, but it makes the connection insecure.
|
||||
*/
|
||||
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
|
||||
#endif
|
||||
|
|
@ -66,7 +66,7 @@ int main(void)
|
|||
/* cache the CA cert bundle in memory for a week */
|
||||
curl_easy_setopt(curl, CURLOPT_CA_CACHE_TIMEOUT, 604800L);
|
||||
|
||||
/* Perform the request, res will get the return code */
|
||||
/* Perform the request, res gets the return code */
|
||||
res = curl_easy_perform(curl);
|
||||
/* Check for errors */
|
||||
if(res != CURLE_OK)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue