mirror of
https://github.com/curl/curl.git
synced 2026-08-05 01:16:19 +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
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue