cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH 4/4] Document type of argument for CURLOPT_FOLLOWLOCATION.

From: Dimitrios Siganos <dimitris_at_siganos.org>
Date: Wed, 2 Jul 2014 10:41:40 +0100

---
 docs/libcurl/opts/CURLOPT_FOLLOWLOCATION.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/libcurl/opts/CURLOPT_FOLLOWLOCATION.3 b/docs/libcurl/opts/CURLOPT_FOLLOWLOCATION.3
index c1a15a3..8885141 100644
--- a/docs/libcurl/opts/CURLOPT_FOLLOWLOCATION.3
+++ b/docs/libcurl/opts/CURLOPT_FOLLOWLOCATION.3
@@ -26,7 +26,7 @@ CURLOPT_FOLLOWLOCATION \- follow HTTP 3xx redirects
 .SH SYNOPSIS
 #include <curl/curl.h>
 
-CURLcode curl_easy_setopt(CURL *handle, CURLOPT_FOLLOWLOCATION, [argument]);
+CURLcode curl_easy_setopt(CURL *handle, CURLOPT_FOLLOWLOCATION, long enable);
 .SH DESCRIPTION
 A parameter set to 1 tells the library to follow any Location: header that the
 server sends as part of a HTTP header in a 3xx response.
-- 
1.8.1.2
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-07-02