From a6d666e1a6c6476362072e3879d51491ac1d1a62 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 18 Jun 2014 01:17:23 +0200 Subject: tests: Use CURLOPT_READDATA instead of the obsolete CURLOPT_INFILE --- tests/libtest/lib579.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/libtest/lib579.c') diff --git a/tests/libtest/lib579.c b/tests/libtest/lib579.c index c5cf603bb..0e8bd2f15 100644 --- a/tests/libtest/lib579.c +++ b/tests/libtest/lib579.c @@ -126,7 +126,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); -- cgit v1.2.3