aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-03-01 17:22:40 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-03-01 17:22:40 +0000
commit8fc5a0d19eaf573bdaee56513a08063466197678 (patch)
tree39aa863ac75feae41854f9b56302f69f4d794dba
parent62b5926d581d8c4939d3be36bcc197b60abc75d7 (diff)
bug report #524427 pointed out a mistake in the example source
-rw-r--r--docs/curl_formadd.36
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/curl_formadd.3 b/docs/curl_formadd.3
index 9957a6983..e0e157279 100644
--- a/docs/curl_formadd.3
+++ b/docs/curl_formadd.3
@@ -2,7 +2,7 @@
.\" nroff -man [file]
.\" $Id$
.\"
-.TH curl_formadd 3 "29 October 2001" "libcurl 7.9.1" "libcurl Manual"
+.TH curl_formadd 3 "1 Match 2002" "libcurl 7.9.1" "libcurl Manual"
.SH NAME
curl_formadd - add a section to a multipart/formdata HTTP POST
.SH SYNOPSIS
@@ -87,8 +87,8 @@ Returns non-zero if an error occurs.
.SH EXAMPLE
.nf
- HttpPost* post = NULL;
- HttpPost* last = NULL;
+ struct HttpPost* post = NULL;
+ struct HttpPost* last = NULL;
char namebuffer[] = "name buffer";
long namelength = strlen(namebuffer);
char buffer[] = "test buffer";