aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Raad <marcelraad@users.sf.net>2014-07-22 11:26:16 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-07-22 11:27:51 +0200
commitd242839af8511b389f0edd6519bdae6cd860e8a9 (patch)
tree30f1a64a21491ec6e044b2c865a1b2755748ddb8
parent6f8046f7a4bd3d6edcc53c2eec936105ec424d54 (diff)
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
-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.