diff options
Diffstat (limited to 'docs/examples/resolve.c')
-rw-r--r-- | docs/examples/resolve.c | 8 |
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"); |