examples: use present tense in comments

remove "will" and some other word fixes

Closes #13003
This commit is contained in:
Daniel Stenberg 2024-02-27 12:29:27 +01:00
parent 6e494a2390
commit f540e43b9d
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
81 changed files with 189 additions and 198 deletions

View file

@ -27,17 +27,17 @@
*/
/*
* Example code that uploads a file name 'foo' to a remote script that accepts
* Example code that uploads a filename 'foo' to a remote script that accepts
* "HTML form based" (as described in RFC 1738) uploads using HTTP POST.
*
* Warning: this example uses the deprecated form api. See "postit2.c"
* for a similar example using the mime api.
*
* The imaginary form we will fill in looks like:
* The imaginary form we fill in looks like:
*
* <form method="post" enctype="multipart/form-data" action="examplepost.cgi">
* Enter file: <input type="file" name="sendfile" size="40">
* Enter file name: <input type="text" name="filename" size="30">
* Enter filename: <input type="text" name="filename" size="30">
* <input type="submit" value="send" name="submit">
* </form>
*/
@ -93,7 +93,7 @@ int main(int argc, char *argv[])
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headerlist);
curl_easy_setopt(curl, CURLOPT_HTTPPOST, formpost);
/* 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)