aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;