cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH 2/4] Document type of argument for CURLOPT_COPYPOSTFIELDS.

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

---
 docs/libcurl/opts/CURLOPT_COPYPOSTFIELDS.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/libcurl/opts/CURLOPT_COPYPOSTFIELDS.3 b/docs/libcurl/opts/CURLOPT_COPYPOSTFIELDS.3
index 7f4b7f4..35ae3ef 100644
--- a/docs/libcurl/opts/CURLOPT_COPYPOSTFIELDS.3
+++ b/docs/libcurl/opts/CURLOPT_COPYPOSTFIELDS.3
@@ -26,7 +26,7 @@ CURLOPT_COPYPOSTFIELDS \- have libcurl copy data to POST
 .SH SYNOPSIS
 #include <curl/curl.h>
 
-CURLcode curl_easy_setopt(CURL *handle, CURLOPT_COPYPOSTFIELDS, [argument]);
+CURLcode curl_easy_setopt(CURL *handle, CURLOPT_COPYPOSTFIELDS, char *data);
 .SH DESCRIPTION
 Pass a char * as parameter, which should be the full data to post in a HTTP
 POST operation. It behaves as the \fICURLOPT_POSTFIELDS(3)\fP option, but the
-- 
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