mirror of
https://github.com/moparisthebest/curl
synced 2025-01-11 05:58:01 -05:00
CURLOPT_READFUNCTION.3: fix fopen params in example
This commit is contained in:
parent
e9dd17b754
commit
aeb32d059b
@ -88,7 +88,7 @@ size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userdata)
|
|||||||
|
|
||||||
void setup(char *uploadthis)
|
void setup(char *uploadthis)
|
||||||
{
|
{
|
||||||
FILE *file = fopen("rb", uploadthis);
|
FILE *file = fopen(uploadthis, "rb");
|
||||||
CURLcode result;
|
CURLcode result;
|
||||||
|
|
||||||
/* set callback to use */
|
/* set callback to use */
|
||||||
|
Loading…
Reference in New Issue
Block a user