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:
committed by
Daniel Stenberg
parent
6f8046f7a4
commit
d242839af8
@@ -1487,7 +1487,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
|
|||||||
data->set.ftp_skip_ip = (0 != va_arg(param, long))?TRUE:FALSE;
|
data->set.ftp_skip_ip = (0 != va_arg(param, long))?TRUE:FALSE;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CURLOPT_INFILE:
|
case CURLOPT_READDATA:
|
||||||
/*
|
/*
|
||||||
* FILE pointer to read the file to be uploaded from. Or possibly
|
* FILE pointer to read the file to be uploaded from. Or possibly
|
||||||
* used as argument to the read callback.
|
* used as argument to the read callback.
|
||||||
|
|||||||
Reference in New Issue
Block a user