CURLOPT_FTPASCII is the old name, CURLOPT_TRANSFERTEXT is the new
authorDaniel Stenberg <daniel@haxx.se>
Wed, 22 Aug 2001 11:24:57 +0000 (11:24 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 22 Aug 2001 11:24:57 +0000 (11:24 +0000)
lib/url.c

index 76c2c732bc59410765fbaf15d8c0f43d9d891b48..6a0d62a8113cd20f26b99c45eeefdb5fc6e5a59a 100644 (file)
--- 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;