mirror of
https://github.com/curl/curl.git
synced 2026-07-31 07:28:06 +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
|
|
@ -22,7 +22,7 @@
|
|||
*
|
||||
***************************************************************************/
|
||||
/* <DESC>
|
||||
* Use CURLOPT_RESOLVE to feed custom IP addresses for given host name + port
|
||||
* Use CURLOPT_RESOLVE to feed custom IP addresses for given hostname + port
|
||||
* number combinations.
|
||||
* </DESC>
|
||||
*/
|
||||
|
|
@ -35,9 +35,9 @@ int main(void)
|
|||
CURLcode res = CURLE_OK;
|
||||
|
||||
/* Each single name resolve string should be written using the format
|
||||
HOST:PORT:ADDRESS where HOST is the name libcurl will try to resolve,
|
||||
PORT is the port number of the service where libcurl wants to connect to
|
||||
the HOST and ADDRESS is the numerical IP address
|
||||
HOST:PORT:ADDRESS where HOST is the name libcurl tries to resolve, PORT
|
||||
is the port number of the service where libcurl wants to connect to the
|
||||
HOST and ADDRESS is the numerical IP address
|
||||
*/
|
||||
struct curl_slist *host = curl_slist_append(NULL,
|
||||
"example.com:443:127.0.0.1");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue