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
This commit is contained in:
Marcel Raad 2014-07-22 11:26:16 +02:00 committed by Daniel Stenberg
parent 6f8046f7a4
commit d242839af8

View File

@ -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.