summaryrefslogtreecommitdiff
path: root/docs/examples/resolve.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2024-02-27 12:29:27 +0100
committerDaniel Stenberg <daniel@haxx.se>2024-02-27 16:19:43 +0100
commitf540e43b9db8a507e1afa83a66b059aff7c965f2 (patch)
treedd2777059fc13349dc88ff362520efa2e353363b /docs/examples/resolve.c
parent6e494a2390702048e00e71e202e6210a8486c200 (diff)
examples: use present tense in comments
remove "will" and some other word fixes Closes #13003
Diffstat (limited to 'docs/examples/resolve.c')
-rw-r--r--docs/examples/resolve.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/examples/resolve.c b/docs/examples/resolve.c
index a16f45954..6514e93d8 100644
--- a/docs/examples/resolve.c
+++ b/docs/examples/resolve.c
@@ -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");