mirror of
https://github.com/curl/curl.git
synced 2026-07-24 01:27:24 +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
|
|
@ -48,7 +48,7 @@ int main(void)
|
|||
if(uc)
|
||||
goto fail;
|
||||
|
||||
/* extract host name from the parsed URL */
|
||||
/* extract hostname from the parsed URL */
|
||||
uc = curl_url_get(h, CURLUPART_HOST, &host, 0);
|
||||
if(!uc) {
|
||||
printf("Host name: %s\n", host);
|
||||
|
|
@ -75,6 +75,6 @@ int main(void)
|
|||
}
|
||||
|
||||
fail:
|
||||
curl_url_cleanup(h); /* free url handle */
|
||||
curl_url_cleanup(h); /* free URL handle */
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue