mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 08:38:49 -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)
|
||||
{
|
||||
FILE *file = fopen("rb", uploadthis);
|
||||
FILE *file = fopen(uploadthis, "rb");
|
||||
CURLcode result;
|
||||
|
||||
/* set callback to use */
|
||||
|
Loading…
Reference in New Issue
Block a user