aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-09-02 20:42:44 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-09-02 20:42:44 +0000
commit5f60188b8adbe5055b0780df36caf3e209d06531 (patch)
tree4d7fac077d42e6179258ac6119624ec1c44e4a99 /docs/libcurl
parent75a6fdeb584d59df364a98f5fcadebe9bbd27307 (diff)
use the correct struct name in the example
Diffstat (limited to 'docs/libcurl')
-rw-r--r--docs/libcurl/curl_formadd.34
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/curl_formadd.3 b/docs/libcurl/curl_formadd.3
index 366e6b07f..c8055afb9 100644
--- a/docs/libcurl/curl_formadd.3
+++ b/docs/libcurl/curl_formadd.3
@@ -129,8 +129,8 @@ defines.
.SH EXAMPLE
.nf
- struct HttpPost* post = NULL;
- struct HttpPost* last = NULL;
+ struct curl_httppost* post = NULL;
+ struct curl_httppost* last = NULL;
char namebuffer[] = "name buffer";
long namelength = strlen(namebuffer);
char buffer[] = "test buffer";