aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
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.