1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

bug report #524427 pointed out a mistake in the example source

This commit is contained in:
Daniel Stenberg 2002-03-01 17:22:40 +00:00
parent 62b5926d58
commit 8fc5a0d19e

View File

@ -2,7 +2,7 @@
.\" nroff -man [file] .\" nroff -man [file]
.\" $Id$ .\" $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 .SH NAME
curl_formadd - add a section to a multipart/formdata HTTP POST curl_formadd - add a section to a multipart/formdata HTTP POST
.SH SYNOPSIS .SH SYNOPSIS
@ -87,8 +87,8 @@ Returns non-zero if an error occurs.
.SH EXAMPLE .SH EXAMPLE
.nf .nf
HttpPost* post = NULL; struct HttpPost* post = NULL;
HttpPost* last = NULL; struct HttpPost* last = NULL;
char namebuffer[] = "name buffer"; char namebuffer[] = "name buffer";
long namelength = strlen(namebuffer); long namelength = strlen(namebuffer);
char buffer[] = "test buffer"; char buffer[] = "test buffer";