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

@ -46,10 +46,10 @@
#define REMOTE_URL "ftp://example.com/" UPLOAD_FILE_AS
#define RENAME_FILE_TO "renamed-and-fine.txt"
/* NOTE: if you want this example to work on Windows with libcurl as a
DLL, you MUST also provide a read callback with CURLOPT_READFUNCTION.
Failing to do so will give you a crash since a DLL may not use the
variable's memory when passed in to it from an app like this. */
/* NOTE: if you want this example to work on Windows with libcurl as a DLL,
you MUST also provide a read callback with CURLOPT_READFUNCTION. Failing to
do so might give you a crash since a DLL may not use the variable's memory
when passed in to it from an app like this. */
static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *stream)
{
unsigned long nread;
@ -90,7 +90,7 @@ int main(void)
/* get a FILE * of the same file */
hd_src = fopen(LOCAL_FILE, "rb");
/* In windows, this will init the winsock stuff */
/* In windows, this inits the winsock stuff */
curl_global_init(CURL_GLOBAL_ALL);
/* get a curl handle */