tests: Use CURLOPT_READDATA instead of the obsolete CURLOPT_INFILE

This commit is contained in:
Dan Fandrich
2014-06-18 01:17:23 +02:00
parent 455bfedc84
commit a6d666e1a6
6 changed files with 6 additions and 6 deletions

View File

@@ -86,7 +86,7 @@ int test(char *URL)
test_setopt(curl, CURLOPT_READFUNCTION, read_callback);
/* pointer to pass to our read function */
test_setopt(curl, CURLOPT_INFILE, &pooh);
test_setopt(curl, CURLOPT_READDATA, &pooh);
/* get verbose debug output please */
test_setopt(curl, CURLOPT_VERBOSE, 1L);