]> granicus.if.org Git - curl/commitdiff
bug report #524427 pointed out a mistake in the example source
authorDaniel Stenberg <daniel@haxx.se>
Fri, 1 Mar 2002 17:22:40 +0000 (17:22 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 1 Mar 2002 17:22:40 +0000 (17:22 +0000)
docs/curl_formadd.3

index 9957a6983430a150f41d31f39e6150d38c1a477d..e0e157279bf4191b77ce39da16dc0003fb7317bb 100644 (file)
@@ -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";