]> granicus.if.org Git - curl/commitdiff
curl_easy_setopt.3: clarify CURLOPT_CRLF
authorDaniel Stenberg <daniel@haxx.se>
Thu, 14 Oct 2010 12:06:07 +0000 (14:06 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 14 Oct 2010 12:09:00 +0000 (14:09 +0200)
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

docs/libcurl/curl_easy_setopt.3

index 9da53792b7edeee6e46a6db39ed45f549f8feb1e..60a496d1aaed815eb08586ab6dc6e40d8a99e6ff 100644 (file)
@@ -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