mirror of
https://github.com/curl/curl.git
synced 2026-07-24 02:47:17 +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)
|
|||
curl_share_setopt(share, CURLSHOPT_LOCKFUNC, my_lock);
|
||||
curl_share_setopt(share, CURLSHOPT_UNLOCKFUNC, my_unlock);
|
||||
|
||||
/* Loop the transfer and cleanup the handle properly every lap. This will
|
||||
still reuse connections since the pool is in the shared object! */
|
||||
/* Loop the transfer and cleanup the handle properly every lap. This still
|
||||
reuses connections since the pool is in the shared object! */
|
||||
|
||||
for(i = 0; i < 3; i++) {
|
||||
CURL *curl = curl_easy_init();
|
||||
|
|
@ -70,7 +70,7 @@ int main(void)
|
|||
/* use the share object */
|
||||
curl_easy_setopt(curl, CURLOPT_SHARE, share);
|
||||
|
||||
/* 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