diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-05-21 07:47:09 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-05-21 07:47:09 +0000 |
commit | c3c392fc9801e7eb1834613ad41c57bb386355c0 (patch) | |
tree | 0dd036b1dd1c63f0eb9e187bc243082513a92100 /docs/libcurl | |
parent | 5d2944c21185200ebc1ba194fd8214557bb62e66 (diff) |
return type CURLFORMcode instead of plain int
Diffstat (limited to 'docs/libcurl')
-rw-r--r-- | docs/libcurl/curl_formadd.3 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/libcurl/curl_formadd.3 b/docs/libcurl/curl_formadd.3 index e0e157279..93bed079d 100644 --- a/docs/libcurl/curl_formadd.3 +++ b/docs/libcurl/curl_formadd.3 @@ -2,13 +2,13 @@ .\" nroff -man [file] .\" $Id$ .\" -.TH curl_formadd 3 "1 Match 2002" "libcurl 7.9.1" "libcurl Manual" +.TH curl_formadd 3 "21 May 2002" "libcurl 7.9.8" "libcurl Manual" .SH NAME curl_formadd - add a section to a multipart/formdata HTTP POST .SH SYNOPSIS .B #include <curl/curl.h> .sp -.BI "int curl_formadd(struct HttpPost ** " firstitem, +.BI "CURLFORMcode curl_formadd(struct HttpPost ** " firstitem, .BI "struct HttpPost ** " lastitem, " ...);" .ad .SH DESCRIPTION @@ -83,7 +83,9 @@ you call \fIcurl_form_free\fP and \fIcurl_easy_cleanup\fP. See example below. .SH RETURN VALUE -Returns non-zero if an error occurs. +0 means everything was ok, non-zero means an error occurred as +.I <curl/curl.h> +defines. .SH EXAMPLE .nf |