From d242839af8511b389f0edd6519bdae6cd860e8a9 Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Tue, 22 Jul 2014 11:26:16 +0200 Subject: url.c: use the preferred symbol name: *READDATA with CURL_NO_OLDIES defined, it doesn't compile because this deprecated symbol (*INFILE) is used Bug: http://curl.haxx.se/bug/view.cgi?id=1398 --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/url.c') diff --git a/lib/url.c b/lib/url.c index 1d0597552..c0ec630c6 100644 --- a/lib/url.c +++ b/lib/url.c @@ -1487,7 +1487,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, data->set.ftp_skip_ip = (0 != va_arg(param, long))?TRUE:FALSE; break; - case CURLOPT_INFILE: + case CURLOPT_READDATA: /* * FILE pointer to read the file to be uploaded from. Or possibly * used as argument to the read callback. -- cgit v1.2.3