mirror of
https://github.com/curl/curl.git
synced 2025-02-17 14:59:45 +08:00
reformatted comment.
This commit is contained in:
parent
d208e56b16
commit
4ae644e427
@ -33,10 +33,9 @@
|
|||||||
#define RENAME_FILE_TO "renamed-and-fine.txt"
|
#define RENAME_FILE_TO "renamed-and-fine.txt"
|
||||||
|
|
||||||
/* NOTE: if you want this example to work on Windows with libcurl as a
|
/* NOTE: if you want this example to work on Windows with libcurl as a
|
||||||
DLL, you MUST also provide a read callback with
|
DLL, you MUST also provide a read callback with CURLOPT_READFUNCTION.
|
||||||
CURLOPT_READFUNCTION. Failing to do so will give you a crash since a
|
Failing to do so will give you a crash since a DLL may not use the
|
||||||
DLL may not use the variable's memory when passed in to it from an app
|
variable's memory when passed in to it from an app like this. */
|
||||||
like this. */
|
|
||||||
static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *stream)
|
static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *stream)
|
||||||
{
|
{
|
||||||
/* in real-world cases, this would probably get this data differently
|
/* in real-world cases, this would probably get this data differently
|
||||||
|
Loading…
Reference in New Issue
Block a user