diff --git a/lib/url.c b/lib/url.c index 1d0597552be143fc5c3cde9873b8b1ecc8735b22..c0ec630c664f6a38dabbedde6e2a2d6d5071e076 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.