From: Daniel Stenberg Date: Thu, 14 Oct 2010 12:06:07 +0000 (+0200) Subject: curl_easy_setopt.3: clarify CURLOPT_CRLF X-Git-Tag: curl-7_21_3~142 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f2e35b30576590fcbe441ad909973c085cc8509;p=curl curl_easy_setopt.3: clarify CURLOPT_CRLF The option takes a parameter that should be 1 or 0 to enable or disable the feature. URL: http://curl.haxx.se/bug/view.cgi?id=3086428 --- diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index 9da53792b..60a496d1a 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -1524,7 +1524,9 @@ to 0 (zero, the default), \fICURLOPT_TRANSFERTEXT\fP has no effect when doing FTP via a proxy. Beware that not all proxies support this feature. (Added in 7.18.0) .IP CURLOPT_CRLF -Convert Unix newlines to CRLF newlines on transfers. +Pass a long. If the value is set to 1 (one), libcurl converts Unix newlines to +CRLF newlines on transfers. Disable this option again by setting the value to +0 (zero). .IP CURLOPT_RANGE Pass a char * as parameter, which should contain the specified range you want. It should be in the format "X-Y", where X or Y may be left out. HTTP