aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-28 21:41:10 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-28 21:41:10 +0000
commit6b33a5f954c11d77c82ead15e3e5560ca8568c42 (patch)
treef5899785ac12d313774581e88330e142f206b773 /docs/examples
parented22afe5fbf4b68a7c7e82fb3b3f75d533963d52 (diff)
use the correct struct
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/postit2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/postit2.c b/docs/examples/postit2.c
index a46f0a71b..d1ecadd61 100644
--- a/docs/examples/postit2.c
+++ b/docs/examples/postit2.c
@@ -33,8 +33,8 @@ int main(int argc, char *argv[])
CURL *curl;
CURLcode res;
- struct HttpPost *formpost=NULL;
- struct HttpPost *lastptr=NULL;
+ struct curl_httppost *formpost=NULL;
+ struct curl_httppost *lastptr=NULL;
struct curl_slist *headerlist=NULL;
char buf[] = "Expect:";