mirror of
https://github.com/curl/curl.git
synced 2026-06-23 02:45:43 +03:00
CURLOPT_WRITEFUNCTION.md: fix the callback proto in the example
Reported-by: Michael Litwak Fixes #13681 Closes #13687
This commit is contained in:
parent
1a89538347
commit
6d1e144f12
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ struct memory {
|
|||
size_t size;
|
||||
};
|
||||
|
||||
static size_t cb(void *data, size_t size, size_t nmemb, void *clientp)
|
||||
static size_t cb(char *data, size_t size, size_t nmemb, void *clientp)
|
||||
{
|
||||
size_t realsize = size * nmemb;
|
||||
struct memory *mem = (struct memory *)clientp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue