aboutsummaryrefslogtreecommitdiff
path: root/docs/curl_formparse.3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-05-03 14:24:37 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-05-03 14:24:37 +0000
commit4efa1e8e4c1c7e7907fdab111428780c502b78a4 (patch)
tree62f89f44585ec7fe6d82f0e53cc9c0626015c522 /docs/curl_formparse.3
parentecba113125428dae4c697832fa2caace30f68f43 (diff)
corrected bad use of the CURLOPT_HTTPPOST header
Diffstat (limited to 'docs/curl_formparse.3')
-rw-r--r--docs/curl_formparse.34
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/curl_formparse.3 b/docs/curl_formparse.3
index 123bab591..1f524ac08 100644
--- a/docs/curl_formparse.3
+++ b/docs/curl_formparse.3
@@ -2,7 +2,7 @@
.\" nroff -man [file]
.\" Written by daniel@haxx.se
.\"
-.TH curl_formparse 3 "23 April 2001" "libcurl 7.7.2" "libcurl Manual"
+.TH curl_formparse 3 "3 May 2001" "libcurl 7.7.2" "libcurl Manual"
.SH NAME
curl_formparse - add a section to a multipart/formdata HTTP POST
.SH SYNOPSIS
@@ -70,7 +70,7 @@ Returns non-zero if an error occurs.
/* Add a normal text section */
curl_formparse("name=FooBar", &post, &last);
/* Set the form info */
- curl_easy_setopt(curl, CURLOPT_HTTPPOST, &post);
+ curl_easy_setopt(curl, CURLOPT_HTTPPOST, post);
.SH "SEE ALSO"
.BR curl_easy_setopt "(3) "