cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-524427 ] example of curl_formadd.html incomplete

From: <noreply_at_sourceforge.net>
Date: Fri, 01 Mar 2002 09:04:06 -0800

Bugs item #524427, was opened at 2002-03-01 09:04
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=524427&group_id=976

Category: documentation
Group: wrong content
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: example of curl_formadd.html incomplete

Initial Comment:
The example states:

EXAMPLE
      HttpPost* post = NULL;
      HttpPost* last = NULL;
      char namebuffer[] = "name buffer";
      long namelength = strlen(namebuffer);
......

This doesn't compile. It should be:
EXAMPLE
      struct HttpPost* post = NULL;
      struct HttpPost* last = NULL;
      char namebuffer[] = "name buffer";
      long namelength = strlen(namebuffer);

----------------------------------------------------------------------

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=524427&group_id=976
Received on 2002-03-01