aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-08-22 11:24:57 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-08-22 11:24:57 +0000
commit0f425b01aa37aea99c1cfab1646f3e5f38b65c90 (patch)
tree3f7c4fcbadd4d7c574ce111c3b0eaec0ddc514b8
parentc5a4b52d83178f82c83f136fb97be09c54238d5a (diff)
CURLOPT_FTPASCII is the old name, CURLOPT_TRANSFERTEXT is the new
-rw-r--r--lib/url.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/url.c b/lib/url.c
index 76c2c732b..6a0d62a81 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -430,9 +430,12 @@ CURLcode Curl_setopt(struct UrlData *data, CURLoption option, ...)
*/
data->bits.http_follow_location = va_arg(param, long)?TRUE:FALSE;
break;
- case CURLOPT_FTPASCII:
+ case CURLOPT_TRANSFERTEXT:
/*
- * Transfer FTP using ASCII instead of BINARY.
+ * This option was previously named 'FTPASCII'. Renamed to work with
+ * more protocols than merely FTP.
+ *
+ * Transfer using ASCII (instead of BINARY).
*/
data->bits.ftp_ascii = va_arg(param, long)?TRUE:FALSE;
break;