Fixed a surprising number of example programs that were passing int arguments

to curl_easy_setopt instead of long.
This commit is contained in:
Dan Fandrich
2008-05-22 21:20:07 +00:00
parent b8abeab6d3
commit e664cd5826
28 changed files with 63 additions and 61 deletions

View File

@@ -58,7 +58,7 @@ void *my_thread(void *ptr)
curl_easy_setopt(curl, CURLOPT_WRITEDATA, outfile);
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, my_write_func);
curl_easy_setopt(curl, CURLOPT_READFUNCTION, my_read_func);
curl_easy_setopt(curl, CURLOPT_NOPROGRESS, FALSE);
curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0L);
curl_easy_setopt(curl, CURLOPT_PROGRESSFUNCTION, my_progress_func);
curl_easy_setopt(curl, CURLOPT_PROGRESSDATA, Bar);